class

MAsyncAction

Module
VisualScripting
Header
#include "VisualScripting/MAsyncAction.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
voidActivateRuns once, after the node's inputs were written into the ExposeOnSpawn fields.
boolUpdateCalled every frame while the action is active.
voidCancelledThe graph left the node (it was torn down); release whatever Activate took.
voidFireFires the exec output named pin (one of AsyncPins).
std::vector<FPending>TakePendingThe fires since the last call; the adapter drains them each frame.

Function details

Activate

C++
virtual void Activate() = 0

Runs once, after the node's inputs were written into the ExposeOnSpawn fields.

Update

C++
virtual bool Update(float deltaSeconds)

Called every frame while the action is active. Return false to retire it.

Cancelled

C++
virtual void Cancelled()

The graph left the node (it was torn down); release whatever Activate took.

Fire

C++
void Fire(const std::string& pin, const std::vector<VisualScriptValue>& outputs = {}, bool terminal = true)

Fires the exec output named pin (one of AsyncPins). A terminal fire ends the action and resumes the graph past the node; a non-terminal one (progress) runs that pin's chain and keeps the action alive. outputs ride the node's data output for this fire.

TakePending

C++
std::vector<FPending> TakePending()

The fires since the last call; the adapter drains them each frame.

Generated from VisualScripting/MAsyncAction.h via visualscripting.json · Dec 5, 2026Version 1.1.0