JASS:
function Trig_Melee_Initialization_Actions takes nothing returns nothing
local integer i = 0
loop
exitwhen i == 8
local unit u = CreateUnitAtLoc( Player(0), 'hfoo', GetRectCenter(GetPlayableMapRect()) ) //error
set i = i + 1
call TriggerSleepAction( 0.01 )
endloop
endfunction
Last edited: