PlantEffect
function · objectlayer · primitive
- Address
0x61fcf0· 219 bytes, up to0x61fdca- Meaning
- Plants a kit's effect model at a point from a start time
- 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 3
- CGUnit_C::OnFootstep objectlayer
- PlayUnitSpellVisualKit objectlayer
- HandleSpellGo spell
Callees 7
- ClntObjMgrObjectPtr objectlayer
- CEffect::Link objectlayer
- StopUnitEffectsAt objectlayer
- CreateModelFromPath models
- CM2Model::GetScene models
- CM2Model::SetDoneCallback models
- CM2Model::SetEventCallback models
Calls and jumps by a bare address, from tables/calls.tsv.