benilla-re systems structs docs

s_flagTokens

global · ui

Address
0x8457d4 · 8 bytes, up to 0x8457db
Type
const char *[2]
Meaning
Holds the flag token strings by faction side: the Alliance flag, then the Horde flag
Confidence
verified, proof one
Finding
ui/worldmapmarkers#the-flag-carrier

Finding: The flag carrier in ui: world map arrows and battleground markers

GetNumBattlefieldFlagPositions() pushes 1 when the carrier GUID is nonzero, else 0. GetBattlefieldFlagPosition(index) takes only index 1 and pushes the map fractions u and v and a token. The position is the carrier's live position or its group record's (0x4a7870) when either fraction is nonzero, else the packet's floats under the active slot's map id. The token is HordeFlag for an Alliance player and AllianceFlag for a Horde player, nil with no carrier, so it names the flag the carrier holds, not the carrier's side.

The derivation is in the doc.