unreal.GameplayAbilityTargetData_ActorArray

class unreal.GameplayAbilityTargetData_ActorArray(source_location=[GameplayAbilityTargetingLocationType.LITERAL_TRANSFORM, [[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], None, None, None, 'None'])

Bases: unreal.GameplayAbilityTargetData

Target data with a source location and a list of targeted actors, makes sense for AOE attacks

C++ Source:

  • Plugin: GameplayAbilities
  • Module: GameplayAbilities
  • File: GameplayAbilityTargetTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • source_location (GameplayAbilityTargetingLocationInfo): [Read-Write] We could be selecting this group of actors from any type of location, so use a generic location type
  • target_actor_array (Array(Actor)): [Read-Write] Rather than targeting a single point, this type of targeting selects multiple actors.
source_location

(GameplayAbilityTargetingLocationInfo) – [Read-Write] We could be selecting this group of actors from any type of location, so use a generic location type