s_scriptCleared
global · ui
- Address
0x854794· 17 bytes, up to0x8547a4- Type
const char[17]- Meaning
- Holds the tooltip script name OnTooltipCleared whose slot is at +0x44c
- Confidence
- verified, proof one
- Finding
- ui/tooltipobject#the-script-slots
Finding: The script slots in ui: Tooltips of world objects
A GameTooltip accepts three scripts of its own besides the frame's. OnTooltipSetDefaultAnchor is run
by the world hover before it builds a unit, corpse or non-floating game object tooltip; its job is to give
the tooltip an owner. OnTooltipCleared runs at the end of every clear of the tooltip's lines.
OnTooltipAddMoney runs with the sell price in copper, which the item builder computes. Each name selects a
word of the tooltip, and a script is looked up by name first as an ordinary frame script.
| script | slot |
|---|---|
OnTooltipSetDefaultAnchor | +0x444 |
OnTooltipCleared | +0x44c |
OnTooltipAddMoney | +0x454 |
The derivation is in the doc.