- 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?
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?