CGUnit_C::UpdateNamePlate
function · objectlayer · primitive
- Address
0x6086e0· 265 bytes, up to0x6087e8- Meaning
- Takes or moves the unit's nameplate to a screen point, re-sorting it and dropping the chat bubble
- Confidence
- verified, proof one
- Finding
- objectlayer/unitnames#nameplates
- Test
objectlayer::nameplate_pos_changed_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 1
- CGUnit_C::UpdateNamePlateVisibility objectlayer
Callees 6
- SetWorldFrameFlag ui
- AllocNamePlate objectlayer
- SortNamePlate objectlayer
- CGUnit_C::ReleaseChatBubble objectlayer
- CGNamePlateFrame::Bind ui
- CGNamePlateFrame::UpdateLevel ui
Calls and jumps by a bare address, from tables/calls.tsv.