class unreal.AbilityTask_WaitTargetData(outer=None, name='None')

Bases: unreal.AbilityTask

Wait for targeting actor (spawned from parameter) to provide data. Can be set not to end upon outputting data. Can be ended by task name.

WARNING: These actors are spawned once per ability activation and in their default form are not very efficient For most games you will need to subclass and heavily modify this actor, or you will want to implement similar functions in a game-specific actor or blueprint to avoid actor spawn costs This task is not well tested by internal games, but it is a useful class to look at to learn how target replication occurs

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: AbilityTask_WaitTargetData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cancelled (WaitTargetDataDelegate): [Read-Write] Cancelled

  • valid_data (WaitTargetDataDelegate): [Read-Write] Valid Data

property cancelled

[Read-Write] Cancelled



property valid_data

[Read-Write] Valid Data