Get X Closest Units From Point to a Group

Gwypaas

hook DoNothing MakeGUIUsersCrash
Reaction score
50
Whats the best way to get the X closest units to a point? (I dont give a fuck about what they are stored in, group, array, whatever because I'll probably edit the script.

(X is configurable so it should just be an argument or something like that)


Edit - Solved it using Prune Group
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top