unreal.GameplayTargetDataFilter

class unreal.GameplayTargetDataFilter(self_filter=TargetDataFilterSelf.TDFS_ANY, required_actor_class=None, reverse_filter=False)

Bases: unreal.StructBase

Simple actor target filter, games can subclass this

C++ Source:

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

Editor Properties: (see get_editor_property/set_editor_property)

  • required_actor_class (type(Class)): [Read-Write] Subclass actors must be to pass the filter.
  • reverse_filter (bool): [Read-Write] Reverses the meaning of the filter, so it will exclude all actors that pass.
  • self_filter (TargetDataFilterSelf): [Read-Write] Filter based on whether or not this actor is “self.”
required_actor_class

(type(Class)) – [Read-Write] Subclass actors must be to pass the filter.

reverse_filter

(bool) – [Read-Write] Reverses the meaning of the filter, so it will exclude all actors that pass.

self_filter

(TargetDataFilterSelf) – [Read-Write] Filter based on whether or not this actor is “self.”