• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Get closest destructable?

Status
Not open for further replies.
Level 4
Joined
Jun 8, 2008
Messages
87
hi evryone!!!, im currently trying to make a map, when i want a unit to walk to the closest destructable. Ive been searching around on the forums, but, i couldt find anything. Though i did find something about chopping trees. But it needed jass newgen pack and it doesnt work for 1.22. Oh and btw, i dont know a think about jass. Well i hope somebody would mind to help me ^^ i just need a code to find the nearest tree, and put it in a variable
 
Status
Not open for further replies.
Top