s_namePlateRangeSq
global · objectlayer
- Address
0xc4d988· 4 bytes, up to0xc4d98b- Type
float- Meaning
- Holds 20² = 400 from 0x5fa130, the squared distance from the camera's unit within which plates show
- Confidence
- verified, proof one
- Finding
- objectlayer/unitnames#nameplates
Finding: Nameplates in objectlayer: unit names and markers
0x60f600 runs each frame. A unit gets a plate when it is alive, selectable, not stealthed, in a
visible node, not the camera's own unit, on screen and within 20 yards of it; when enemy or
friendly plates are switched on for its side; and when it is no friendly totem and no enemy
flagged dead. Plates come from a free list and stay sorted by distance from the screen point
(0.4, 0.3).
The derivation is in the doc.