class
MResidentStatics
The Resident AI for Visual Scripting. Stages are 0 Dormant, 1 Curious, 2 Searching, 3 Hunting. A graph reacts to a change by polling GetResidentEventSerial each tick: when it moved, GetResidentLastEventKind says what happened (1 stage changed, 2 heard something, 3 lost the target) and GetResidentLastEventResident which Resident it was.
- Module
- AINavigation
- Header
#include "AINavigation/MResidentStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
int32_t | GetResidentStage | |
float | GetResidentAlertness | |
bool | HasResidentBelief | |
Vec3 | GetResidentBeliefPosition | |
float | GetResidentBeliefConfidence | |
void | RaiseResidentAlertness | |
int32_t | GetResidentEventSerial | |
int32_t | GetResidentLastEventKind | |
int64_t | GetResidentLastEventResident | |
FResidentSystem* | ResolveSystem |
Function details
GetResidentStage
C++
int32_t GetResidentStage(int64_t resident) constGetResidentAlertness
C++
float GetResidentAlertness(int64_t resident) constHasResidentBelief
C++
bool HasResidentBelief(int64_t resident) constGetResidentBeliefPosition
C++
Vec3 GetResidentBeliefPosition(int64_t resident) constGetResidentBeliefConfidence
C++
float GetResidentBeliefConfidence(int64_t resident) constRaiseResidentAlertness
C++
void RaiseResidentAlertness(int64_t resident, float amount)GetResidentEventSerial
C++
int32_t GetResidentEventSerial() constGetResidentLastEventKind
C++
int32_t GetResidentLastEventKind() constGetResidentLastEventResident
C++
int64_t GetResidentLastEventResident() constResolveSystem
C++
static FResidentSystem* ResolveSystem()Generated from AINavigation/MResidentStatics.h via ainavigation.json · Dec 5, 2026Version 1.1.0