benilla-re systems structs docs

s_gameTooltipFrame

global · ui

Address
0xb4b3c4 · 4 bytes, up to 0xb4b3c7
Type
void *
Meaning
Points to the frame named GameTooltip, which the engine builds mouseover tooltips in
Confidence
verified, proof one
Finding
ui/mouseover#tooltips-by-object-type

Finding: Tooltips by object type in ui: the world under the pointer

For a unit, the publisher fires the tooltip's OnTooltipSetDefaultAnchor script, builds the unit tooltip (0x529fe0), signals UPDATE_MOUSEOVER_UNIT and plays a highlight sound by the unit's reaction toward the player: GAMEHIGHLIGHTHOSTILEUNIT for 1 or less, GAMEHIGHLIGHTNEUTRALUNIT for 2 and 3, GAMEHIGHLIGHTFRIENDLYUNIT for 4 and more. A corpse fires the script, builds its tooltip (0x52aef0) and plays the neutral sound. A game object whose floating-tooltip test holds (only the generic type, with its first data word nonzero) sets the tooltip's owner itself, to UIParent with the cursor mode 6, before building; every other game object fires the script, then builds. Both play the neutral sound. The owner is set before the lines are added, because setting it clears the tooltip.

The derivation is in the doc.