is there a way to select a unit from a group that has the least health in that group
i tried making it, but i couldnt get it to work, and it got really messy
im not very good with jass, so that might be the reason it didnt work
example if it was a function
set u = GetLowestHealth( g )
GetLowestHealth( g ) would return a unit that had the least amounth of health of the units in that group
i tried making it, but i couldnt get it to work, and it got really messy
im not very good with jass, so that might be the reason it didnt work
example if it was a function
set u = GetLowestHealth( g )
GetLowestHealth( g ) would return a unit that had the least amounth of health of the units in that group