Navigation
API > API/Plugins > API/Plugins/TargetingSystem > API/Plugins/TargetingSystem/AbilityTasks
Inheritance Hierarchy
- UObject
- IGameplayTaskOwnerInterface
- UGameplayTask
- UAbilityTask
- UAbilityTask_PerformTargeting
References
| Module | TargetingSystem |
| Header | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/AbilityTasks/AbilityTask_PerformTargeting.h |
| Include | #include "AbilityTasks/AbilityTask_PerformTargeting.h" |
Syntax
UCLASS ()
class UAbilityTask_PerformTargeting : public UAbilityTask
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPerformAsync | Whether to perform this request immediately or async. | |
| TArray< AActor * > | InitialTargets | Initial Targets to pass into the request (only populated for Filtering Requests) | |
| FTargetReadyDelegate | OnTargetReady | Called when the targeting request has been completed and results are ready. | |
| TObjectPtr< UTargetingPreset > | TargetingPreset | Targeting Preset to request. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UAbilityTask_PerformTargeting * | PerformFilteringRequest
(
UGameplayAbility* OwningAbility, |
Performs a target filtering request based on a Targeting Preset from a GameplayAbility. | |
| UAbilityTask_PerformTargeting * | PerformTargetingRequest
(
UGameplayAbility* OwningAbility, |
Performs a targeting request based on a Targeting Preset from a GameplayAbility. |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it |