• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

What's the best way to trigger a chasing missile explosion?

Status
Not open for further replies.
Level 8
Joined
Dec 9, 2005
Messages
523
So I have a couple of spells based on the premise that when the missile hits the target it explodes/deals damage/etc. Of course the missile itself is not in fact a missile but a dummy unit. My issue is that the dummy unit is more like dumby unit sometimes and refuses to deal the damage when it reaches its target (which are also units, which means it's always moving too). So I'd have this stupid missile floating around following the target like a little kid following it's mom and suddenly "poof" it dies (expires).

I'm using the "attack" command on the missile dummy unit but perhaps there's something about the attack setting that's causing it to linger even when it's reached its designated target. Or perhaps I should just check for proximity? Like when distance between target and missile is less than xx then it deals damage?

What do you think?
 
Level 11
Joined
Jul 9, 2009
Messages
927
instead of ordering it to attack.
Check in triggers if the dummy unit is within 128 range of target unit of ability being cast.

If it is cause dummy unit to deal ?? damage to target unit of ability being cast.
 
Status
Not open for further replies.
Top