Navigation
API > API/Plugins > API/Plugins/TargetingSystem > API/Plugins/TargetingSystem/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTargetingTask
- USimpleTargetingSelectionTask
References
| Module | TargetingSystem |
| Header | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/SimpleTargetingSelectionTask.h |
| Include | #include "Tasks/SimpleTargetingSelectionTask.h" |
Syntax
UCLASS (EditInlineNew, Abstract, Blueprintable)
class USimpleTargetingSelectionTask : public UTargetingTask
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddHitResult
(
const FTargetingRequestHandle& TargetingHandle, |
Adds a HitResult to the Targeting Results for a given TargetingRequestHandle. | |
| bool | AddTargetActor
(
const FTargetingRequestHandle& TargetingHandle, |
Adds a single Actor to the Targeting Results for a given TargetingRequestHandle. | |
| void | SelectTargets
(
const FTargetingRequestHandle& TargetingHandle, |
||
| void | SelectTargets_Implementation
(
const FTargetingRequestHandle& TargetingHandle, |
Overridden from UTargetingTask
| Type | Name | Description | |
|---|---|---|---|
| void | Execute
(
const FTargetingRequestHandle& TargetingHandle |
Evaluation function called by derived classes to process the targeting request |