s_plateLowHealthFraction
global · ui
- Address
0x81df88· 4 bytes, up to0x81df8b- Type
float- Meaning
- Holds 0.2, the fill fraction at or below which the auto-colour is red
- Confidence
- verified, proof one
- Finding
- ui/nameplates#bar-colour-and-values
Finding: Bar colour and values in ui: the nameplate frame
0x7cbaa0 sets the bar colour: red 0xffff0000 when the unit's reaction toward the player is 1 or less, else blue 0xff0000ff for a player unit, green 0xff00ff00 when the reaction is 4 or more, else yellow 0xffffff00. 0x7cc3d0 sets the bar range 0 to UNIT_FIELD_MAXHEALTH and the value to UNIT_FIELD_HEALTH, so GetValue() is the health and not a fraction;
watchers on both fields (0x7cc510) keep them current through 0x7cc570.
The derivation is in the doc.