benilla-re systems structs docs

CGUnit_C::UpdateNamePlateVisibility

function · objectlayer · primitive

Address
0x60f600 · 487 bytes, up to 0x60f7e6
Meaning
Gives a unit a nameplate when visible, switched on for its side and within 20 yards, else releases it
Confidence
verified, proof one
Finding
objectlayer/unitnames#nameplates
Test
objectlayer::follow_dist_proceed_difftest

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.

Callers 2

Callees 10

Calls and jumps by a bare address, from tables/calls.tsv.