I'm using timer dialogs for many timers on my map, but I have a question:
When I use
Does it appear for all the players?
And.. does it cause desyncs if I create it in a local block?
EDIT: And any idea why doesn't this work?
EDIT 2: This works tho:
When I use
local timerdialog td = CreateTimerDialogBJ( t , "title")
Does it appear for all the players?
And.. does it cause desyncs if I create it in a local block?
EDIT: And any idea why doesn't this work?
JASS:
call TimerDialogSetTitle(LoadTimerDialogHandle(udg_Table, GetHandleId(SEF_T[i]), 1), "Use SEF within:")
call TimerDialogDisplayForPlayerBJ( true, LoadTimerDialogHandle(udg_Table, GetHandleId(SEF_T[i]), 1) , Player(i))
call TimerStart(SEF_T[i], 30.00, false, function OutOfTime)
JASS:
set SEF_T[i] = CreateTimer()
call SaveInteger(udg_Table, GetHandleId(SEF_T[i]), 0, i)
call SaveTimerDialogHandle(udg_Table, GetHandleId(SEF_T[i]), 1, CreateTimerDialog(SEF_T[i]))
EDIT 2: This works tho:
JASS:
call TimerStart(SEF_T[i], 30.00, false, function OutOfTime)
call TimerDialogSetTitle(SEF_TD[i], "Use SEF within:")
call TimerDialogDisplayForPlayerBJ( true, SEF_TD[i] , Player(i))
JASS:
set SEF_T[i] = CreateTimer()
call SaveInteger(udg_Table, GetHandleId(SEF_T[i]), 0, i)
set SEF_TD[i] = CreateTimerDialog(SEF_T[i])