CGUnit_C::OnModelEvent
function · objectlayer · orchestration
- Address
0x5ffbd0· 1870 bytes, up to0x60031d- Meaning
- Dispatches a model event by its four-character tag: footsteps, sounds, sheathe, missiles; logs unknown ones
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#model-events
- Test
objectlayer::uh_anim_event_level_band_difftest
Finding: Model events in objectlayer: unit animation
A sequence's events reach 0x5ffbd0 through 0x607840, keyed by four-character tags. Footstep
tags, two letters and a digit ($FL0, $WR3), leave footprints and splashes; $FD1 to $FD9
and $TRD play foley; $SHL and $SHR move a weapon between hand and sheath; $CSL, $CSR and
$CST launch spell missiles; an unknown tag prints UNHANDLEDANIMEVENT|%.4s.
The derivation is in the doc.
Callers 1
- UnitModelEventCallback objectlayer
Callees 25
- SysMsgPrintf sysmsg
- ClntObjMgrGetC8 objectlayer
- CGUnit_C::OnFootstep objectlayer
- IsBowAnimation objectlayer
- IsRifleAnimation objectlayer
- CGUnit_C::GetCurrentAnimation objectlayer
- CGUnit_C::OnSheatheEvent objectlayer
- CGUnit_C::ReleaseMissiles objectlayer
- GetAutoMoveMode objectlayer
- CGUnit_C::StopAutoMove objectlayer
- CEffect::CEffect objectlayer
- AddHardcodedEffect objectlayer
- CEffect::Release objectlayer
- CGUnit_C::OnFoleyEvent objectlayer
- CGUnit_C::PlayFootstep objectlayer
- CGUnit_C::PlayEmoteStateSound objectlayer
- CGUnit_C::PlayEmoteVoice objectlayer
- OnCombatModelEvent objectlayer
- CGPlayer_C::PlayPrecastSound objectlayer
- SMemAlloc storm
- CM2Model::PlayAnimation models
- CM2Model::HasAttachment models
- CM2Model::GetAttachmentPosition models
- CM2Model::GetParent models
- CM2Model::Detach models
Calls and jumps by a bare address, from tables/calls.tsv.