Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
Finds a path to TargetLocation, requests a short path, starts a move action and follow the path by updating the short path when needed.
| Name | FMassNavMeshPathFollowTask |
| Type | struct |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/Tasks/MassNavMeshPathfollowTask.h |
| Include Path | #include "Tasks/MassNavMeshPathfollowTask.h" |
Syntax
USTRUCT (Meta=(DisplayName="NavMesh Path Follow"))
struct FMassNavMeshPathFollowTask : public FMassStateTreeTaskBase
Inheritance Hierarchy
- FStateTreeNodeBase → FStateTreeTaskBase → FMassStateTreeTaskBase → FMassNavMeshPathFollowTask
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool RequestPath
(
FStateTreeExecutionContext& Context, |
Tasks/MassNavMeshPathfollowTask.h | ||
bool UpdateShortPath
(
FStateTreeExecutionContext& Context |
Tasks/MassNavMeshPathfollowTask.h |
Overridden from FStateTreeTaskBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EStateTreeRunStatus EnterState
(
FStateTreeExecutionContext& Context, |
Tasks/MassNavMeshPathfollowTask.h | ||
virtual EStateTreeRunStatus Tick
(
FStateTreeExecutionContext& Context, |
Tasks/MassNavMeshPathfollowTask.h |
Overridden from FStateTreeNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UStruct * GetInstanceDataType() |
Tasks/MassNavMeshPathfollowTask.h | ||
virtual bool Link
(
FStateTreeLinker& Linker |
Tasks/MassNavMeshPathfollowTask.h |