CGUnit_C::LooksDead
function · objectlayer · primitive
- Address
0x605f90· 48 bytes, up to0x605fbf- Meaning
- Returns whether a unit has no health, dynamic flag 0x20 or stand state 7
- Confidence
- verified, proof one
- Finding
- objectlayer/units#health-death-and-resurrection
Finding: Health, death and resurrection in objectlayer: units
The health watcher redraws the name, keeps the low-health bit (under 20%), and flashes the
nameplate on a loss. A unit that dies stops the active mover's input, runs 0x605860 and clears
the player's precast on it; one that comes back resets input, plays its idle and rebuilds its
display. Dynamic flag 0x20 makes a unit look dead.
The derivation is in the doc.
Callers 5
- CGUnit_C::PlayFollowOnAnimation objectlayer
- CGUnit_C::ResolveDeadAnimation objectlayer
- CGUnit_C::IsPlainLocomotion objectlayer
- CGUnit_C::PlayWoundAnimation objectlayer
- CGUnit_C::PlayParryAnimation objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.