• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Doesn't kill timer after TriggerSleepAction

Status
Not open for further replies.
Level 3
Joined
Feb 17, 2008
Messages
41
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?
 
Status
Not open for further replies.
Top