five-on-it / packages/missions/src/runtime / SpawnVehicleCommand
Interface: SpawnVehicleCommand
Defined in: packages/missions/src/runtime.ts:677
Spawn a mission's vehicle at a place; the host keeps the vehicle under key.
Properties
at
at:
SpawnSpot
Defined in: packages/missions/src/runtime.ts:685
Where (the place's y is absent when the ground decides).
key
key:
string
Defined in: packages/missions/src/runtime.ts:681
The actor's key (<player>:<mission>:<actor>): the facts report the vehicle under it.
keyTag
keyTag:
string
Defined in: packages/missions/src/runtime.ts:693
The tag its key answers to.
kind
kind:
"spawnVehicle"
Defined in: packages/missions/src/runtime.ts:679
Discriminator.
locked
locked:
boolean
Defined in: packages/missions/src/runtime.ts:691
Locked as it is spawned.
owner
owner:
"nobody"|"npc"|"mission"
Defined in: packages/missions/src/runtime.ts:689
Who owns it: the mission, nobody, an NPC.
player
player:
number
Defined in: packages/missions/src/runtime.ts:687
The player the mission belongs to (in a run, its holder 0: the host routes nothing by it).
vehicleClass
vehicleClass:
string
Defined in: packages/missions/src/runtime.ts:683
The vehicle class by name.