Skip to content

five-on-it / packages/ai/src/stealth / SentryReadoutRow

Interface: SentryReadoutRow ​

Defined in: packages/ai/src/stealth.ts:266

One guard as the readout tells it.

Properties ​

eid ​

eid: number

Defined in: packages/ai/src/stealth.ts:268

Its character entity.


offGuard? ​

optional offGuard?: true

Defined in: packages/ai/src/stealth.ts:286

Off guard: on a break of its schedule, calm, its sight cut short (absent otherwise).


phase ​

phase: "search" | "normal" | "alert" | "caution" | "suspicious"

Defined in: packages/ai/src/stealth.ts:272

Its alert phase.


role ​

role: string

Defined in: packages/ai/src/stealth.ts:270

Its role.


status ​

status: string

Defined in: packages/ai/src/stealth.ts:274

Its status (awake, asleep…).


suspicion ​

suspicion: number

Defined in: packages/ai/src/stealth.ts:284

Its suspicion, 0..1 (to a hundredth).


target ​

target: number

Defined in: packages/ai/src/stealth.ts:282

The player it is after or saw last, or −1.


x ​

x: number

Defined in: packages/ai/src/stealth.ts:276

Where it is (m, to a tenth).


yaw ​

yaw: number

Defined in: packages/ai/src/stealth.ts:280

Where it faces (rad, to a hundredth).


z ​

z: number

Defined in: packages/ai/src/stealth.ts:278

Where it is (m, to a tenth).