Skip to content

GameboardScenarioActorPatrolAgent

Defined in: src/scenario/scenario.ts:89

Patrol agent definition that references a named scenario route.

optional active?: boolean

Defined in: src/patrol/patrol.ts:63

Whether the patrol starts active.

SetGameboardPatrolAgentOptions.active


optional alignToCurrentTile?: boolean

Defined in: src/patrol/patrol.ts:61

Align starting waypoint to the placement’s current tile when possible.

SetGameboardPatrolAgentOptions.alignToCurrentTile


optional currentWaypointIndex?: number

Defined in: src/patrol/patrol.ts:59

Starting waypoint index.

SetGameboardPatrolAgentOptions.currentWaypointIndex


optional movement?: GameboardMovementPathRequestOptions

Defined in: src/patrol/patrol.ts:67

Movement options used when requesting segment movement.

SetGameboardPatrolAgentOptions.movement


optional pauseTicks?: number

Defined in: src/patrol/patrol.ts:65

Ticks to wait after reaching each waypoint.

SetGameboardPatrolAgentOptions.pauseTicks


routeId: string

Defined in: src/scenario/scenario.ts:92

Scenario patrol route id to attach to the actor.