benilla-re systems structs docs

s_friendlyPlayerColor

global · objectlayer

Address
0xc4da4c · 4 bytes, up to 0xc4da4f
Type
uint32_t
Meaning
Holds the blue 0x605960 gives an unflagged player-controlled unit, or one that may attack the player only
Confidence
verified, proof one
Finding
objectlayer/unitdisplay#selection-circle-and-colour

Finding: Selection circle and colour in objectlayer: unit display

0x608e00 (slot 12) draws the selection circle at the unit's feet: radius +0xcf0 times the object scale, the colour from slot 11, half alpha. 0x60aee0 sets the radius from the model's bounds. 0x605960 (slot 11) picks the colour: the flashing target colour; for player-controlled units by attack, PvP and party; for others grey when dead, else by reaction toward the player.

The derivation is in the doc.