benilla-re systems structs docs

UpdateSpellEffectObject

function · objectlayer · primitive

Address
0x620be0 · 1269 bytes, up to 0x6210d4
Meaning
Sets up an effect once its model loads: placement, attachment, scale, camera shake and sound
Confidence
verified, proof one
Finding
objectlayer/effects#setting-up-once-loaded
Test
objectlayer::f2_effect_anchor_add_difftest, objectlayer::f2_vec3_half_scale_be0_difftest, objectlayer::f2_attach_scale_div_difftest

Finding: Setting up once loaded in objectlayer: effects

An effect with a model is set up once, on the first frame its model is loaded. A planted effect gets a world object at its point, turned by its owner's facing and scaled by its owner's scale, and shows from its start time. An attached one must find its attachment on its target's model; flag 0x200 would scale it to the target's size over its own, but no creator sets it. Then the kit's camera shake plays at the effect, and the kit's sound plays once at the effect or, with flag 0x1, loops on the object.

The derivation is in the doc.

Callers 1

Callees 26

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