class

VisualScriptAIMoveProvider

Navigation provider for the AIMoveTo action, installed by the AI/navigation plugin. Same contract: no provider means OnFailed rather than a pawn that pretends it arrived.

Module
VisualScripting
Header
#include "VisualScripting/VisualScriptAsync.h"
Namespace
Mowo

Constructors

SignatureNameDescription
virtual ~VisualScriptAIMoveProvider() = default~VisualScriptAIMoveProvider

Public functions

ReturnsNameDescription
boolBeginMoveIssue the move.
EVisualScriptAsyncPollPollMove
voidAbortMoveThe node retired without arriving (the graph was torn down, or the move ran past its budget).

Function details

~VisualScriptAIMoveProvider

C++
virtual ~VisualScriptAIMoveProvider() = default

BeginMove

C++
virtual bool BeginMove(MObject* pawn, const Vec3& destination, float acceptanceRadius) = 0

Issue the move. False = the move could never start (no pawn, no nav agent, no world), so the node fails without ever polling.

PollMove

C++
virtual EVisualScriptAsyncPoll PollMove(MObject* pawn, const Vec3& destination, float acceptanceRadius, float dt) = 0

AbortMove

C++
virtual void AbortMove(MObject* pawn) = 0

The node retired without arriving (the graph was torn down, or the move ran past its budget). Without this the pawn keeps walking toward a destination nothing is waiting on.

Generated from VisualScripting/VisualScriptAsync.h via visualscripting.json · Nov 5, 2026Version 1.0.0