class

FAITeamAttitude

How one team regards another (UE's IGenericTeamAgentInterface attitude). Without overrides a team is friendly to itself and hostile to every other team — the team-id equality perception used before, so existing levels keep their behaviour. Pairs are directional: a guard can be hostile to a thief the thief merely avoids. A solver, when set, answers before the table.

Module
AINavigation
Header
#include "AINavigation/AITeamAttitude.h"
Namespace
Mowo

Type aliases

AliasDescription
using FSolver = std::function<bool(int32_t from, int32_t to, ETeamAttitude& out)>

Public functions

ReturnsNameDescription
ETeamAttitudeGet
voidSet
voidSetMutual
voidSetSolver
voidReset
boolDetectsWhether a perceiver of from with these detection flags senses to.

Function details

Get

C++
static ETeamAttitude Get(int32_t from, int32_t to)

Set

C++
static void Set(int32_t from, int32_t to, ETeamAttitude attitude)

SetMutual

C++
static void SetMutual(int32_t a, int32_t b, ETeamAttitude attitude)

SetSolver

C++
static void SetSolver(FSolver solver)

Reset

C++
static void Reset()

Detects

C++
static bool Detects(int32_t from, int32_t to, bool enemies, bool neutrals, bool friendlies)

Whether a perceiver of from with these detection flags senses to.

Generated from AINavigation/AITeamAttitude.h via ainavigation.json · Oct 27, 2026Version 1.0.0