Ashlebede
New Member
- Reaction score
- 43
When I use [ljass]DestroyEffect()[/ljass] to remove a special effect, it sometimes doesn't play the model's death animation. I'd say it is played correctly about 75% of the time. The other 25% of the time, the model just disappears.
Any idea what's wrong here, or should I just try attaching every effect to a dummy to see if it works any better when the effect is added with [ljass]AddSpecialEffectTarget()[/ljass] ?
Edit : The model I use is [ljass]"Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile.mdl"[/ljass], just for the info.
Oh, and another thing I need to mention. My spell creates 21 effects when used. Every spell cast, all of the effects will have the same behaviour ; they will either all play the death animation or all not play the death animation. And I need it to play the death animation, since I destroy them as soon as they're created.
Any idea what's wrong here, or should I just try attaching every effect to a dummy to see if it works any better when the effect is added with [ljass]AddSpecialEffectTarget()[/ljass] ?
Edit : The model I use is [ljass]"Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile.mdl"[/ljass], just for the info.
Oh, and another thing I need to mention. My spell creates 21 effects when used. Every spell cast, all of the effects will have the same behaviour ; they will either all play the death animation or all not play the death animation. And I need it to play the death animation, since I destroy them as soon as they're created.