Skip to content

GameboardActorSelectionOptions

Defined in: src/actors/actors.ts:385

Filter options for selecting actors from the world.

optional actorIds?: string | readonly string[]

Defined in: src/actors/actors.ts:387

Actor id or ids to include.


optional blocksMovement?: boolean

Defined in: src/actors/actors.ts:415

Filter by actor movement-blocking flag.


optional center?: GameboardNeighborhoodCenter

Defined in: src/actors/actors.ts:403

Optional center used by radius filtering and distance sorting.


optional excludeTags?: readonly string[]

Defined in: src/actors/actors.ts:399

Actor tags that must all be absent.


optional factions?: string | readonly string[]

Defined in: src/actors/actors.ts:395

Faction id or ids to include.


optional hostile?: boolean

Defined in: src/actors/actors.ts:411

Filter by actor hostile flag.


optional hostileToSource?: boolean

Defined in: src/actors/actors.ts:417

Filter by hostility relative to sourceActor.


optional includeSource?: boolean

Defined in: src/actors/actors.ts:409

Include the source actor in results. Defaults to true.


optional interactive?: boolean

Defined in: src/actors/actors.ts:413

Filter by actor interactive flag.


optional kinds?: GameboardActorKind | readonly GameboardActorKind[]

Defined in: src/actors/actors.ts:391

Actor kind or kinds to include.


optional placementIds?: string | readonly string[]

Defined in: src/actors/actors.ts:389

Placement id or ids to include.


optional radius?: number

Defined in: src/actors/actors.ts:405

Maximum hex distance from center or sourceActor.


optional sort?: GameboardActorSelectionSort

Defined in: src/actors/actors.ts:419

Sort mode for selected actors.


optional sourceActor?: string | Entity

Defined in: src/actors/actors.ts:407

Source actor used for hostility and default center resolution.


optional tags?: readonly string[]

Defined in: src/actors/actors.ts:397

Actor tags that must all be present.


optional teams?: string | readonly string[]

Defined in: src/actors/actors.ts:393

Team id or ids to include.


optional tileKeys?: string | readonly string[]

Defined in: src/actors/actors.ts:401

Tile key or keys to include.