Hi guys i am working on a system.
First how to stop a unit from attacking any enemy other unit it see.(i guess when the unit attacks a enemy i could give a order to stop him)(any other changes?)
Then when a spell is casted, is first checks if the target is in range of him or not. If enemy is in range he only attacks him for 1 melee attack.
How to make a unit attack another unit only for a single attack then stop attacking after that single attack?
First how to stop a unit from attacking any enemy other unit it see.(i guess when the unit attacks a enemy i could give a order to stop him)(any other changes?)
Then when a spell is casted, is first checks if the target is in range of him or not. If enemy is in range he only attacks him for 1 melee attack.
How to make a unit attack another unit only for a single attack then stop attacking after that single attack?