JASS:
function FirstWave takes nothing returns nothing
local timer t = CreateTimer()
local integer i
set udg_hero = 'H005'
set udg_tier1 = 'u000'
set udg_ntier1 = 30
set i = udg_ntier1 / 2
call BJDebugMsg("First Wave")
// call TriggerExecute( gg_trg_Cinematic )
call DestroyTimerDialog(udg_CurrentTD)
call TimerStart(t, .50,true, function StartFirstWave)
call PolledWait(15)
call BJDebugMsg("Timer Killed")
call DestroyTimer(t)
//Jass is gay and this doesnt work.
After the timer finishes it doesn't call anything after the PolledWait or the TriggerSleepAction.
Any ideas? Yes, I'm fairly new with jass. something I need to know about?