Warcraft III resources & community, 2003–2006 · archived

How do I set art effect to wait until the projectile hits?

4 posts
#1

How do I set art effect to wait until the projectile hits?

How do I set an art effect to wait until the projectile hits, ie having an explosion go off when a cluster missle hits (in addition to the normal one). What I am ideally tying to do here is have 1 cluster missle launch and when it hits have a big explosion go off. I have a model, but no matter where I place the art effect it never waits until the missile hits before blowing up. Help please!
#2
You could fire a trigger when a unit takes damage, or you could calculate when the projectile will hit based off the projectile speed (defined in the spell's entry in the editor) and the distance between points.

P.S. There might be a wait action for this; I'm not sure.

~The_Raven
#3
The problem is the distance is variable (it has a max of course) but it depends on far away someone tries to fire the missle. It has no minimum range. Is there some kind of spell already in the game I could base it off of?
#4
Hmm... The damaging stuff doesn't really work because the unit could get damaged by other spells or units. STILL, there might be a way. You can make for the model a death animation which can obviously be based on another already done model. So just implement the animation (dunno how...) and the effect should I appear (I think). Hope this helps.