Skip to content

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

Interface: AlertCommand ​

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

Raise the alarm (every guard of the room, or the NPC actor of key, alert after the player) or call it off (calm).

Properties ​

calm ​

calm: boolean

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

Call it off instead: back to their rounds.


key? ​

optional key?: string

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

One NPC actor's key; every sentry of the room when absent.


kind ​

kind: "alert"

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

Discriminator.


player ​

player: number

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

The player the guards go after.