Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/Tasks/AITask_MoveTo.h |
Include |
#include "Tasks/AITask_MoveTo.h" |
class UAITask_MoveTo : public UAITask
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bUseContinuousTracking |
|
|
MoveRequest |
Parameters of move request |
|
|
MoveRequestID |
Request ID of path following's request |
|
|
TEnumAsByte< EP... |
MoveResult |
|
|
MoveRetryTimerHandle |
Handle of active ConditionalPerformMove timer |
|
|
OnMoveFinished |
||
|
OnRequestFailed |
||
|
Path |
Currently followed path |
|
|
PathFinishDelegateHandle |
Handle of path following's OnMoveFinished delegate |
|
|
PathRetryTimerHandle |
Handle of active ConditionalUpdatePath timer |
|
|
PathUpdateDelegateHandle |
Handle of path's update event delegate |
Name | Description | |
---|---|---|
|
UAITask_MoveTo ( |
Name | Description | ||
---|---|---|---|
|
UAITask_Move... |
AIMoveTo ( |
|
|
ConditionalPerformMove() |
Tries to start move request and handles retry timer |
|
|
ConditionalUpdatePath() |
Tries to update invalidated path and handles retry timer |
|
|
FinishMoveTask ( |
Finish task |
|
|
FAIMoveReque... |
GetMoveRequestRef() |
Allows custom move request tweaking. |
|
EPathFollowi... |
GetMoveResult() |
|
|
OnPathEvent ( |
Event from followed path |
|
|
OnRequestFinished ( |
Event from path following |
|
|
PerformMove() |
Start move request |
|
|
ResetObservers() |
Remove all delegates |
|
|
ResetTimers() |
Remove all timers |
|
|
SetContinuousGoalTracking ( |
Switch task into continuous tracking mode: keep restarting move toward goal actor. |
|
|
SetObservedPath ( |
Stores path and starts observing its events |
|
|
SetUp ( |
Prepare move task for activation |
|
|
WasMovePartial() |
||
|
WasMoveSuccessful() |
Name | Description | ||
---|---|---|---|
|
Activate() |
Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it |
|
|
OnDestroy ( |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |
|
|
Pause() |
Protected by design. Not meant to be called outside from GameplayTaskComponent mechanics |
|
|
Resume() |
Name | Description | ||
---|---|---|---|
|
SetUp ( |
This function is now depreacted, please use version with FAIMoveRequest parameter |