- Joined
- May 1, 2008
- Messages
- 1,605
Seas =)
1) First - ofc I know the search functions - but dont find anything about my problem.
I want do the following: I created 1 Unit and place it on the map. If you klick this Unit - actions happend. But this action should only happend, if the distance between the Unit (Selected Unit) and the Owner of the Unit who select are lower then xxx.
Problem is - how I call the Unit who select the (selected Unit)?
- Edit: I got more controllable Units - so I dont want create a variable for each Unit - and get the distance between selected Unit and variable - would take to long)
(I'm not rly good with Jass - but if it is possible with Jass - post it^^)
1) First - ofc I know the search functions - but dont find anything about my problem.
I want do the following: I created 1 Unit and place it on the map. If you klick this Unit - actions happend. But this action should only happend, if the distance between the Unit (Selected Unit) and the Owner of the Unit who select are lower then xxx.
Problem is - how I call the Unit who select the (selected Unit)?
- Edit: I got more controllable Units - so I dont want create a variable for each Unit - and get the distance between selected Unit and variable - would take to long)
(I'm not rly good with Jass - but if it is possible with Jass - post it^^)