benilla-re systems structs docs

CEffect::Update

function · objectlayer · primitive

Address
0x620580 · 803 bytes, up to 0x6208a2
Meaning
Sets up, moves, ends or stops one effect on its unit's frame
Confidence
verified, proof one
Finding
objectlayer/effects#the-frame-tick
Test
objectlayer::f2_effect_track_reresolve_difftest, objectlayer::f2_vec3_half_scale_580_difftest

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

Callees 16

Calls and jumps by a bare address, from tables/calls.tsv.