s_breathHeightBase
global · objectlayer
- Address
0x80c44c· 4 bytes, up to0x80c44f- Type
const float- Meaning
- Holds 5.0, which the breath state test adds to the scaled unit height
- Confidence
- verified, proof one
- Finding
- objectlayer/unitbody#breath
Finding: Breath in objectlayer: unit body each frame
0x607710(time) sets the breath state every 10 seconds: bit 0x20 of +0xc58 when a liquid
surface lies more than 5 yards above the unit's top, else bit 0x40 in an area whose flags have
bit 0. The model event $BTH turns them into a breath effect: drunk, bubbles or a cold breath.
The derivation is in the doc.