JASS:
function Create_Units_NightElf takes nothing returns nothing
call CreateUnitAtLoc(Player(0), 4, GetRectCenter(Top_Right_Spawn), "earc")//"earc" is the raw object data for Archer in WC3
endfunction
function Create_Units_Top_Left takes nothing returns nothing
call TriggerRegisterTimerEventPeriodic(Create_Units_Top_Left, 30.00)
call TriggerAddAction(trigger(Create_Units_Top_Left), function Create_Units_NightElf)
endfunction
I keep getting errors on undeclared variables and cannot convert string to real.
Please help.
Last edited: