class

MStateTreeStatics

Visual Scripting's reach into an actor's state tree: send it an event, ask which state it is in, and write the blackboard its conditions read.

Module
AINavigation
Header
#include "AINavigation/MStateTreeStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
boolSendStateTreeEvent
std::stringGetActiveStateName
boolIsInState
boolSetStateTreeBool

Function details

SendStateTreeEvent

C++
bool SendStateTreeEvent(AActor* actor, const std::string& eventName)

GetActiveStateName

C++
std::string GetActiveStateName(AActor* actor) const

IsInState

C++
bool IsInState(AActor* actor, const std::string& stateName) const

SetStateTreeBool

C++
bool SetStateTreeBool(AActor* actor, const std::string& key, bool value)
Generated from AINavigation/MStateTreeStatics.h via ainavigation.json · Oct 27, 2026Version 1.0.0