- Joined
- Aug 10, 2007
- Messages
- 92
I've made some models myself and I have successfully implemented them in wc3, but the problem is when I call DestroyEffect() it takes about 4 seconds before the effect disappears. This only happens on my self-made models, so I'm guessing it has something to do with the .mdl file.
Could it be that my model only has a "stand" animation and that a "death" animation is required? If that is the case, how can I easiest make one? I just want the model to disappear instantly when I call the function.
Funny thing is it actually works if I use the model as an attachment on an ability, the model is removed instantly when I remove the ability. But if I use AddSpecialEffectTarget & DestroyEffect, the 4 second delay is there.
EDIT: Found out you can change effect decay time in gameplay constants.
Could it be that my model only has a "stand" animation and that a "death" animation is required? If that is the case, how can I easiest make one? I just want the model to disappear instantly when I call the function.
Funny thing is it actually works if I use the model as an attachment on an ability, the model is removed instantly when I remove the ability. But if I use AddSpecialEffectTarget & DestroyEffect, the 4 second delay is there.
EDIT: Found out you can change effect decay time in gameplay constants.
Last edited: