Skip to content

ForceGroupTargetAction ​

Inherits: EncounterAction < Resource

Forces all group members to target the same enemy based on selection criteria

Properties ​

TargetSelectiontarget_selectionTargetSelection.NEAREST_PLAYER
boolforce_retargettrue

Enumerations ​

enum TargetSelection ​

The options of target selection: nearest player, farthest player, lowest health player, highest health player, current target, random player.

  • NEAREST_PLAYER = 0
  • FARTHEST_PLAYER = 1
  • LOWEST_HEALTH_PLAYER = 2
  • HIGHEST_HEALTH_PLAYER = 3
  • CURRENT_TARGET = 4
  • RANDOM_PLAYER = 5

Property descriptions ​

TargetSelection target_selection = TargetSelection.NEAREST_PLAYER ​

Which enemy the group is told to target.

bool force_retarget = true ​

If false, only affects entities without targets