I have just been messing around and I was wondering how i can detect attacks. not like the player ordered attacks but when an enemy unit initiates the attack (the enemy comes in range or attacks). How do i detect this?
basically i want to see if you can stop some units from auto aquiring units all together. like an enemy can be right next to them and attacking it but the unit just stands there and takes it, making the player have to manually right click to attack units.
basically i want to see if you can stop some units from auto aquiring units all together. like an enemy can be right next to them and attacking it but the unit just stands there and takes it, making the player have to manually right click to attack units.