• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

clear selection problem

Status
Not open for further replies.

Kazeon

Hosted Project: EC
Level 34
Joined
Oct 12, 2011
Messages
3,449
Q1: How to clear selection locally
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:
Maggy forgot to post even simpler answer: when you want to ask different question without creating new thread you can go ahead and ask it within your previous one as long as it's not complex one which should be separated from the previous one.

The worst possible decision to make it to "clear" opening post from your issue. Look from a different perpective: a folk via google searches for answer to similar question within wc3 universe - what he get's after visiting your thread? - your mind speaks truth! A spaghetti of posts unrelated with eachother and one question on top which has basically no connection to thread.
 
Status
Not open for further replies.
Top