class
MAsyncAction
- Module
- VisualScripting
- Header
#include "VisualScripting/MAsyncAction.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
void | Activate | Runs once, after the node's inputs were written into the ExposeOnSpawn fields. |
bool | Update | Called every frame while the action is active. |
void | Cancelled | The graph left the node (it was torn down); release whatever Activate took. |
void | Fire | Fires the exec output named pin (one of AsyncPins). |
std::vector<FPending> | TakePending | The fires since the last call; the adapter drains them each frame. |
Function details
Activate
C++
virtual void Activate() = 0Runs 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