I am making a map where each player controls a unit that fires a missile in a direction. If the missile hits an enemy, that enemy and the missile are killed, and if it hits a missile, both missiles are killed. I have sorted out the missile to unit collision, but the missile to missile collision is something that I once to be easy but now proving quite challenging...
At the moment I am using a 'Time Periodic - every 0.01 seconds' to check the positions of every missile on the map and using the 'Math - Distance between points' to check if they are colliding. This is because I cannot use the 'Get Units in Range of Point' function as the missiles have the locust ability and apparently units with locust are not included in this function.
It seems that the collision is detected in part because one of the missiles always dies upon collision, but I cannot figure out how to kill both missiles.
PLEASE HELP!
At the moment I am using a 'Time Periodic - every 0.01 seconds' to check the positions of every missile on the map and using the 'Math - Distance between points' to check if they are colliding. This is because I cannot use the 'Get Units in Range of Point' function as the missiles have the locust ability and apparently units with locust are not included in this function.
It seems that the collision is detected in part because one of the missiles always dies upon collision, but I cannot figure out how to kill both missiles.
PLEASE HELP!