five-on-it / packages/ai/src/system / ChaserSpec
Interface: ChaserSpec
Defined in: packages/ai/src/system.ts:440
What to spawn a chaser as.
Properties
at
at:
SpawnPoint
Defined in: packages/ai/src/system.ts:444
Where it starts, facing which way; its home.
carClass?
optionalcarClass?:number
Defined in: packages/ai/src/system.ts:448
Index of the car's class (the compact by default; a boat's is the compact's: a chaser comes by road).
crew?
optionalcrew?:number
Defined in: packages/ai/src/system.ts:450
How many ride in the car, the driver included (the profile's crew by default; clamped to the seats).
mode
mode:
"foot"|"car"
Defined in: packages/ai/src/system.ts:446
On foot, or driving a car of carClass spawned with it.
profile
profile:
BehaviourProfile
Defined in: packages/ai/src/system.ts:442
How it behaves.
target?
optionaltarget?:number
Defined in: packages/ai/src/system.ts:452
A character to go after (the player who asked for it), or none: whoever it sees.