Skip to main content

FB2AggroSourceState

Overview

  • Aggro state of one Source, holding multiple Targets at once. The manager's ActiveAggros holds it as a TMap<FB1EntityId, FB2AggroSourceState>.

Metadata

FieldValue
Kindstruct
EnvironmentB2 - Simulation
Categorystructs

Properties (4)

NameTypeDescription
EntriesFB2AggroEntry[]The Source's per-Target aggro entries. Each tick the single largest-total entry is picked as the chase target.
TopEntryIndexCacheintegerCached Top-entry index. INDEX_NONE means invalid; the manager recomputes it on the next query. Invalidated on: AddAggro entry, the empty-entry removal step in Tick (if an entry was actually removed), DecreaseAggroByReason / DecreaseAggroByTargetReason, RemoveAggro / RemoveAggroForTarget / OnEntityRemoved, and on Decay (decay amounts differ per reason).
WalkBackLocationFVector
bWalkBackCapturedboolean