FindClosestUnitLoc
not ratedSimply finds the closest unit to loc, in group g.
The "Loc" version is basically a fluff function to make GUI use easier, those who use common.j functions will probably prefer using plain FindClosestUnit.
This function uses the "bj_wantDestroyGroup" hack to determine whether or not to destroy the group passed to it.
The "Loc" version is basically a fluff function to make GUI use easier, those who use common.j functions will probably prefer using plain FindClosestUnit.
This function uses the "bj_wantDestroyGroup" hack to determine whether or not to destroy the group passed to it.