Skip to content

five-on-it / packages/missions/src/runtime / SpawnVehicleCommand

Interface: SpawnVehicleCommand ​

Defined in: packages/missions/src/runtime.ts:610

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:618

Where (the place's y is absent when the ground decides).


key ​

key: string

Defined in: packages/missions/src/runtime.ts:614

The actor's key (<player>:<mission>:<actor>): the facts report the vehicle under it.


keyTag ​

keyTag: string

Defined in: packages/missions/src/runtime.ts:626

The tag its key answers to.


kind ​

kind: "spawnVehicle"

Defined in: packages/missions/src/runtime.ts:612

Discriminator.


locked ​

locked: boolean

Defined in: packages/missions/src/runtime.ts:624

Locked as it is spawned.


owner ​

owner: "nobody" | "npc" | "mission"

Defined in: packages/missions/src/runtime.ts:622

Who owns it: the mission, nobody, an NPC.


player ​

player: number

Defined in: packages/missions/src/runtime.ts:620

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:616

The vehicle class by name.