Navigation
API > API/Plugins > API/Plugins/TargetingSystem > API/Plugins/TargetingSystem/USimpleTargetingSelectionTask
Description
Adds a single Actor to the Targeting Results for a given TargetingRequestHandle. Returns false when the Actor was already in the list.
NOTE: If you have a HitResult associated with this selection, please use AddHitResult instead.
| Name | AddTargetActor |
| Type | function |
| Header File | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/SimpleTargetingSelectionTask.h |
| Include Path | #include "Tasks/SimpleTargetingSelectionTask.h" |
| Source | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Private/Tasks/SimpleTargetingSelectionTask.cpp |
UFUNCTION (BlueprintCallable, BlueprintPure=False, Category=Targeting)
bool AddTargetActor
(
const FTargetingRequestHandle & TargetingHandle,
AActor * Actor
) const