Navigation
API > API/Plugins > API/Plugins/TargetingSystem
This is a blueprintable TargetingTask class made for filtering out Targets from the results list. Override the ShouldRemoveTarget Blueprint Function to define the rules for this filter.
This is a blueprintable TargetingTask class made for adding new Targets to the results list. Override the SelectTargets function and call AddTargetHitResult or AddTargetActor to select new targets.
| Name | USimpleTargetingSelectionTask |
| Type | class |
| Header File | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/SimpleTargetingSelectionTask.h |
| Include Path | #include "Tasks/SimpleTargetingSelectionTask.h" |
Syntax
UCLASS (MinimalAPI, EditInlineNew, Abstract, Blueprintable)
class USimpleTargetingSelectionTask : public UTargetingTask
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTargetingTask → USimpleTargetingSelectionTask
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SelectTargets
(
const FTargetingRequestHandle& TargetingHandle, |
Tasks/SimpleTargetingSelectionTask.h |
|
|
virtual void SelectTargets_Implementation
(
const FTargetingRequestHandle& TargetingHandle, |
Tasks/SimpleTargetingSelectionTask.h |
Overridden from UTargetingTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute
(
const FTargetingRequestHandle& TargetingHandle |
Evaluation function called by derived classes to process the targeting request | Tasks/SimpleTargetingSelectionTask.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddHitResult
(
const FTargetingRequestHandle& TargetingHandle, |
Adds a HitResult to the Targeting Results for a given TargetingRequestHandle. | Tasks/SimpleTargetingSelectionTask.h |
|
bool AddTargetActor
(
const FTargetingRequestHandle& TargetingHandle, |
Adds a single Actor to the Targeting Results for a given TargetingRequestHandle. | Tasks/SimpleTargetingSelectionTask.h |
|