Navigation
API > API/Plugins > API/Plugins/MassAIBehavior > API/Plugins/MassAIBehavior/Tasks
Inheritance Hierarchy
- FStateTreeNodeBase
- FStateTreeTaskBase
- FMassStateTreeTaskBase
- FMassLookAtTask
References
| Module | MassAIBehavior |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/Tasks/MassLookAtTask.h |
| Include | #include "Tasks/MassLookAtTask.h" |
Syntax
USTRUCT (Meta=(DisplayName="Mass LookAt Task"))
struct FMassLookAtTask : public FMassStateTreeTaskBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRandomGazeEntities | If true, allow random gaze to look at other entities too. | |
| TStateTreeExternalDataHandle< FMassLookAtFragment > | LookAtHandle | ||
| EMassLookAtMode | LookAtMode | Look At Mode | |
| TStateTreeExternalDataHandle< UMassSignalSubsystem > | MassSignalSubsystemHandle | ||
| EMassLookAtGazeMode | RandomGazeMode | Random gaze Mode | |
| uint8 | RandomGazePitchVariation | Random gaze pitch angle added to the look direction determined by the look at mode. | |
| uint8 | RandomGazeYawVariation | Random gaze yaw angle added to the look direction determined by the look at mode. |
Overridden from FStateTreeTaskBase
| Type | Name | Description | |
|---|---|---|---|
| EStateTreeRunStatus | EnterState
(
FStateTreeExecutionContext& Context, |
Called when a new state is entered and task is part of active states. | |
| void | ExitState
(
FStateTreeExecutionContext& Context, |
Called when a current state is exited and task is part of active states. | |
| EStateTreeRunStatus | Tick
(
FStateTreeExecutionContext& Context, |
Called during state tree tick when the task is on active state. |
Overridden from FStateTreeNodeBase
| Type | Name | Description | |
|---|---|---|---|
| const UStruct * | |||
| bool | Link
(
FStateTreeLinker& Linker |
Called when the StateTree asset is linked. Allows to resolve references to other StateTree data. |
Typedefs
| Name | Description |
|---|---|
| FInstanceDataType |