- Joined
- Oct 12, 2011
- Messages
- 3,449
Q1: How to clear selection locally
answer
Q2: how can I get distance between points without red?
answer
answer
JASS:
if (GetLocalPlayer() == Player(x)) then
call ClearSelection()
endif
Q2: how can I get distance between points without red?
answer
JASS:
(GetUnitX(unit1)-GetUnitX(unit2))*(GetUnitX(unit1)-GetUnitX(unit2))+(GetUnitY(unit1)-GetUnitY(unit2))*(GetUnitY(unit1)-GetUnitY(unit2))
Last edited: