Tyrulan
Ultra Cool Member
- Reaction score
- 37
Here's the code:
It is contained within the create of my struct.
In the onDestroy() I am destroying it.
However it is still there? Attached the left hand of my unit. Please go away!!! Lol
JASS:
call SetUnitAnimation( caster, "attack" )
call AddSpecialEffectTargetUnitBJ( "hand, left", caster, "war3mapImported\\Final Rod.mdx" )
set fD.casterRod = GetLastCreatedEffectBJ()
It is contained within the create of my struct.
In the onDestroy() I am destroying it.
JASS:
method onDestroy takes nothing returns nothing
set this.caster = null
call DestroyEffectBJ(this.casterRod)
endmethod
However it is still there? Attached the left hand of my unit. Please go away!!! Lol