[JASS] Timers

Status
Not open for further replies.
Now that I think about it, yes it will lol... So you can set a local variable for the timer window and set the variable to the timer itself and then after the that call the function so it should look like this:

JASS:
function Timer takes nothing returns nothing
    // local timer tim = CreateTimer() -----> Don't worry about this
    local timerdialog tw
    
    if GetLocalPlayer() == Player("player number") then
        set tw = bj_lastStartedTimer
    endif
    call TimerDialogDisplay(tw, true)
endfunction

Maybe... lol
 
Status
Not open for further replies.
Back
Top