Is it possible to convert a unit group to a unit array? I ask because I am working inside of a structure and cant find any way of dissecting the group.
It appears in structure methods cant be called by ForGroup?
I do apologize if resources already point to a solution, I tried my best with google.
Code:
method see takes nothing returns nothing
local group spotted
set spotted = GetUnitsInRangeOfLocAll( .sightRange, .position )
call ForGroup( spotted, function convert )
endmethod
It appears in structure methods cant be called by ForGroup?
I do apologize if resources already point to a solution, I tried my best with google.