CEffect::AddEffect
function · objectlayer · primitive
- Address
0x61fdd0· 235 bytes, up to0x61feba- Meaning
- Hangs a kit's effect model at an attachment of the target unit
- 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 2
- CGUnit_C::SpawnKitEffect objectlayer
- SpillBlood objectlayer
Callees 8
- DebugPrintStub unassigned
- 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.