CGUnit_C::OnAnimationDone
function · objectlayer · primitive
- Address
0x5fc920· 542 bytes, up to0x5fcb3d- Meaning
- Handles a sequence's end: death stamp, missiles, lock bits, sheathe stages, then the follow-on animation
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#when-a-sequence-ends
Finding: When a sequence ends in objectlayer: unit animation
The model calls 0x5fc920 through 0x6078d0 when a sequence ends or fires its end event. A death
stamps the time of death and adds the loot sparkle; a finished cast releases missiles; a lift-off,
landing or knockdown clears its lock. A finished full-body sequence plays its follow-on through
0x5fc3f0: the loop after its start, the stand-up after a sit or kneel, or a fresh base pick.
The derivation is in the doc.
Callers 1
- UnitModelDoneCallback objectlayer
Callees 11
- OsGetAsyncTimeMs core
- CGUnit_C::PlayFollowOnAnimation objectlayer
- IsSpellCastAnimation objectlayer
- IsSwingAnimation objectlayer
- IsCastOrShotAnimation objectlayer
- CGUnit_C::AddLootSparkle objectlayer
- CGUnit_C::ReleaseMissilesFromHand objectlayer
- CGUnit_C::StartMainHandSheatheAnim objectlayer
- CGUnit_C::StartOffHandSheatheAnim objectlayer
- CGUnit_C::SetSheatheState objectlayer
- CM2Model::PlayAnimation models
Calls and jumps by a bare address, from tables/calls.tsv.