CEffect::OnWorldObjectFrame
function · objectlayer · primitive
- Address
0x620520· 84 bytes, up to0x620573- Meaning
- Shows a planted effect from its start time and stops it at its end time
- Confidence
- verified, proof one
- Finding
- objectlayer/effects#the-frame-tick
Finding: The frame tick in objectlayer: effects
The unit's update runs each effect on its list: it sets up an effect not yet set up, makes one with flag 0x4000 follow its owner when the owner has moved, restores the animation speeds and stops an override at its end time, and stops any other effect at its end time unless it has flag 0x20. A planted effect's world-object callback also shows the model when its start time passes.
The derivation is in the doc.
Callers 1
- 0x481510 ui
Callees 4
- OsGetAsyncTimeMs core
- CEffect::Stop objectlayer
- CM2Model::SetAnimated models
- CM2Model::SetVisible models
Calls and jumps by a bare address, from tables/calls.tsv.