AddEffectSound
function · objectlayer · primitive
- Address
0x61fec0· 220 bytes, up to0x61ff9b- Meaning
- Plays a kit's sound at a point or on a unit as an effect
- Confidence
- verified, proof one
- Finding
- objectlayer/effects#adding-an-effect
Finding: Adding an effect in objectlayer: effects
The kits create effects through six entries. CEffect::AddEffect (0x61fdd0) hangs a model at
an attachment, replacing one of the same name there; 0x61fcf0 plants one at a point with a start
time. 0x61fec0 makes a sound at a point or on the unit, 0x61ffa0 and 0x620090 make bare
effects that hold a spell and a kit, and 0x6201d0 overrides the unit's animation speed until its
end time, saving the old speeds.
The derivation is in the doc.
Callers 1
- PlayUnitSpellVisualKit objectlayer
Callees 3
- PlaySoundLoop3D sound
- CEffect::Link objectlayer
- Sound::Set3DUpdateHandle sound
Calls and jumps by a bare address, from tables/calls.tsv.