struct
ResidentComponent
A creature that finds the crew by what it hears, never by what it sees. Put it on any entity next to a NavAgent — a skeletal mesh and its animator ride the agent's movement as for any other character. FResidentSystem moves it through four stages (Dormant, Curious, Searching, Hunting) from the noise, voice and scan pulses on the stimulus bus, carried through the room graph, and from the Attention meter's stage. The host decides; clients read the state it replicates.
- Module
- AINavigation
- Header
#include "AINavigation/ResidentComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::string | profilePath | The Resident Profile asset (.resident) holding every threshold; empty uses the engine defaults. |
uint32_t | seed | 0 derives the stream from the session seed and the entity, so two Residents differ and the same session replays the same search. Default 0. |
bool | debugDraw | Default true. |
int32_t | stage | 0 Dormant, 1 Curious, 2 Searching, 3 Hunting. Default 0. |
float | alertness | Default 0.0f. |
bool | hasBelief | Default false. |
Vec3 | beliefPosition | Default Vec3(0.0f, 0.0f, 0.0f). |
float | beliefConfidence | Default 0.0f. |
float | beliefUncertainty | Default 0.0f. |
float | timeSinceHeard | Default 0.0f. |
int32_t | heardCount | Default 0. |
Generated from AINavigation/ResidentComponent.h via ainavigation.json · Dec 5, 2026Version 1.1.0