Trouble with using constraint attributes
solomonsiu2000@gmail.com
Member Posts: 2
Im trying to make a game thats like cartoon wars. Its where there are two bases, and each base must destroy each other. Both bases has the ability to spawn units. I want to make a certain units to stop and start shooting each other at a certain range. The problem is that if one unit reaches a certain range of the enemy unit, then all the units will stop and start shooting each other.
Tip: the main problem is that each of those units have the same constraint attributes
Tip: the main problem is that each of those units have the same constraint attributes
Comments
If x position > than position of the base (+ range value) then spawn bullet.