Hi all, im making a new map. U walk with A and S and i want it to attack with mouse but i have to problems.
- If you come closer to the unit u will attack automaticly, can you turn that off? i tried with attack target priority in the data editor but that didnt work
- the attack system must be like click, attack, click, attack, click, attack etc. Becouse if i just use this:
<<code Galexy triggers>>
Attack
Events
UI - Player 1 clicks Left mouse button Down.
Local Variables
Conditions
Actions
Unit - Order Zealot [19.03, 163.96] to ( Attack targeting (Closest unit to (Position of Zealot [19.03, 163.96]) in (Any units in (Entire map) owned by player 2 matching No Unit Filter, with at most 1))) (Replace Existing Orders)
<</code>>
You just have to click and u automaticly walk to the closest unit ánd u only have to click once and i want it so you need to click repeatedly.
Hope you understand it. If not i explain more.
Thanks
- If you come closer to the unit u will attack automaticly, can you turn that off? i tried with attack target priority in the data editor but that didnt work
- the attack system must be like click, attack, click, attack, click, attack etc. Becouse if i just use this:
<<code Galexy triggers>>
Attack
Events
UI - Player 1 clicks Left mouse button Down.
Local Variables
Conditions
Actions
Unit - Order Zealot [19.03, 163.96] to ( Attack targeting (Closest unit to (Position of Zealot [19.03, 163.96]) in (Any units in (Entire map) owned by player 2 matching No Unit Filter, with at most 1))) (Replace Existing Orders)
<</code>>
You just have to click and u automaticly walk to the closest unit ánd u only have to click once and i want it so you need to click repeatedly.
Hope you understand it. If not i explain more.
Thanks