Navigation
API > API/Plugins > API/Plugins/TargetingSystem > API/Plugins/TargetingSystem/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTargetingTask
- UTargetingSelectionTask_AOE
References
| Module | TargetingSystem |
| Header | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/TargetingSelectionTask_AOE.h |
| Include | #include "Tasks/TargetingSelectionTask_AOE.h" |
Syntax
UCLASS (Blueprintable)
class UTargetingSelectionTask_AOE : public UTargetingTask
Remarks
Basic AOE based selection task. There are 4 shape types to choose from + a custom option.
Box - Defined by a given half extent Cylinder - Defined by the half extent (box) + radius Sphere - Defined by a given radius Capsule - Defined by the radius + half height
SourceComponent - Use a collision component with a specific component tag as the shape
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bIgnoreInstigatorActor | Indicates the trace should ignore the source actor | |
| uint8: 1 | bIgnoreSourceActor | Indicates the trace should ignore the source actor | |
| uint8: 1 = false | bTraceComplex | When enabled, the trace will be performed against complex collision. | |
| uint8: 1 | bUseRelativeOffset | Should we offset based on world or relative Source object transform? | |
| TEnumAsByte< ECollisionChannel > | CollisionChannel | The collision channel to use for the overlap check (as long as Collision Profile Name is not set) | |
| TArray< TEnumAsByte< EObjectTypeQuery > > | CollisionObjectTypes | The collision profile name to use for the overlap check | |
| FCollisionProfileName | CollisionProfileName | The collision profile name to use for the overlap check | |
| FName | ComponentTag | The component tag to use if a custom component is desired as the overlap shape. | |
| FVector | DefaultSourceOffset | The default source location offset used by GetSourceOffset | |
| FVector | HalfExtent | The half extent to use for box and cylinder | |
| FScalableFloat | HalfHeight | The half height to use for capsule overlap checks | |
| FScalableFloat | Radius | The radius to use for sphere and capsule overlaps | |
| ETargetingAOEShape | ShapeType | The shape type to use for the AOE |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UTargetingSelectionTask_AOE
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DebugDrawBoundingVolume
(
const FTargetingRequestHandle& TargetingHandle, |
Debug draws the outlines of the set shape type. | |
| FVector | GetSourceLocation
(
const FTargetingRequestHandle& TargetingHandle |
Native Event to get the source location for the AOE | |
| FVector | GetSourceOffset
(
const FTargetingRequestHandle& TargetingHandle |
Native Event to get a source location offset for the AOE | |
| FQuat | GetSourceRotation
(
const FTargetingRequestHandle& TargetingHandle |
Native event to get the source rotation for the AOE | |
| void | SetHalfExtent
(
FVector InHalfExtent |
||
| void | SetHalfHeight
(
FScalableFloat InHalfHeight |
||
| void | SetRadius
(
FScalableFloat InRadius |
||
| void | SetShapeType
(
ETargetingAOEShape InShapeType |
Overridden from UTargetingTask
| Type | Name | Description | |
|---|---|---|---|
| void | Execute
(
const FTargetingRequestHandle& TargetingHandle |
Evaluation function called by derived classes to process the targeting request |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. |