GameboardActorTargetingOptions
Defined in: src/actors/actors.ts:512
Options for selecting and pathing to potential actor targets.
Extends
Section titled “Extends”Omit<GameboardActorSelectionOptions,"sourceActor"|"sort">
Extended by
Section titled “Extended by”Properties
Section titled “Properties”actorIds?
Section titled “actorIds?”
optionalactorIds?:string| readonlystring[]
Defined in: src/actors/actors.ts:387
Actor id or ids to include.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.actorIds
approach?
Section titled “approach?”
optionalapproach?:GameboardActorTargetApproach
Defined in: src/actors/actors.ts:519
Target approach strategy. Defaults to nearest.
blocksMovement?
Section titled “blocksMovement?”
optionalblocksMovement?:boolean
Defined in: src/actors/actors.ts:415
Filter by actor movement-blocking flag.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.blocksMovement
center?
Section titled “center?”
optionalcenter?:GameboardNeighborhoodCenter
Defined in: src/actors/actors.ts:403
Optional center used by radius filtering and distance sorting.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.center
excludeTags?
Section titled “excludeTags?”
optionalexcludeTags?: readonlystring[]
Defined in: src/actors/actors.ts:399
Actor tags that must all be absent.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.excludeTags
factions?
Section titled “factions?”
optionalfactions?:string| readonlystring[]
Defined in: src/actors/actors.ts:395
Faction id or ids to include.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.factions
hostile?
Section titled “hostile?”
optionalhostile?:boolean
Defined in: src/actors/actors.ts:411
Filter by actor hostile flag.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.hostile
hostileToSource?
Section titled “hostileToSource?”
optionalhostileToSource?:boolean
Defined in: src/actors/actors.ts:417
Filter by hostility relative to sourceActor.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.hostileToSource
includeSource?
Section titled “includeSource?”
optionalincludeSource?:boolean
Defined in: src/actors/actors.ts:409
Include the source actor in results. Defaults to true.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.includeSource
includeUnreachable?
Section titled “includeUnreachable?”
optionalincludeUnreachable?:boolean
Defined in: src/actors/actors.ts:523
Include unreachable targets in results. Defaults to true.
interactive?
Section titled “interactive?”
optionalinteractive?:boolean
Defined in: src/actors/actors.ts:413
Filter by actor interactive flag.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.interactive
kinds?
Section titled “kinds?”
optionalkinds?:GameboardActorKind| readonlyGameboardActorKind[]
Defined in: src/actors/actors.ts:391
Actor kind or kinds to include.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.kinds
maxPathCost?
Section titled “maxPathCost?”
optionalmaxPathCost?:number
Defined in: src/actors/actors.ts:521
Maximum accepted path cost.
navigation?
Section titled “navigation?”
optionalnavigation?:GameboardActorNavigationOptions
Defined in: src/actors/actors.ts:517
Actor-aware navigation options.
placementIds?
Section titled “placementIds?”
optionalplacementIds?:string| readonlystring[]
Defined in: src/actors/actors.ts:389
Placement id or ids to include.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.placementIds
radius?
Section titled “radius?”
optionalradius?:number
Defined in: src/actors/actors.ts:405
Maximum hex distance from center or sourceActor.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.radius
optionalsort?:GameboardActorTargetSort
Defined in: src/actors/actors.ts:525
Target result sort mode.
sourceActor
Section titled “sourceActor”sourceActor:
string|Entity
Defined in: src/actors/actors.ts:515
Source actor that will path toward selected targets.
optionaltags?: readonlystring[]
Defined in: src/actors/actors.ts:397
Actor tags that must all be present.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.tags
teams?
Section titled “teams?”
optionalteams?:string| readonlystring[]
Defined in: src/actors/actors.ts:393
Team id or ids to include.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.teams
tileKeys?
Section titled “tileKeys?”
optionaltileKeys?:string| readonlystring[]
Defined in: src/actors/actors.ts:401
Tile key or keys to include.