GameboardActorTargetCommandOptions
Defined in: src/commands/commands.ts:239
Options for choosing an actor target and planning a command against it.
Extends
Section titled “Extends”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.
Inherited from
Section titled “Inherited from”GameboardActorTargetingOptions.approach
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.
Inherited from
Section titled “Inherited from”GameboardActorTargetingOptions.includeUnreachable
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.
Inherited from
Section titled “Inherited from”GameboardActorTargetingOptions.maxPathCost
navigation?
Section titled “navigation?”
optionalnavigation?:GameboardActorNavigationOptions
Defined in: src/actors/actors.ts:517
Actor-aware navigation options.
Inherited from
Section titled “Inherited from”GameboardActorTargetingOptions.navigation
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
requireReachable?
Section titled “requireReachable?”
optionalrequireReachable?:boolean
Defined in: src/commands/commands.ts:243
Require the selected actor target to be reachable. Defaults to true.
optionalsort?:GameboardActorTargetSort
Defined in: src/actors/actors.ts:525
Target result sort mode.
Inherited from
Section titled “Inherited from”GameboardActorTargetingOptions.sort
sourceActor
Section titled “sourceActor”sourceActor:
string|Entity
Defined in: src/actors/actors.ts:515
Source actor that will path toward selected targets.
Inherited from
Section titled “Inherited from”GameboardActorTargetCommandOptions.sourceActor
optionaltags?: readonlystring[]
Defined in: src/actors/actors.ts:397
Actor tags that must all be present.
Inherited from
Section titled “Inherited from”GameboardActorSelectionOptions.tags
targetActorId?
Section titled “targetActorId?”
optionaltargetActorId?:string
Defined in: src/commands/commands.ts:241
Require this exact target actor id instead of using the nearest match.
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.