Timer Window

Kelvin87

New Member
Reaction score
14
I need some one who has experience in making Timer Window in their game. I need some one to help me to write a Trigger(better in jazz) that can successfully create a timer window to show the timer and successfully destroy the Timer Window when the timer expired. Thx for helping...+rep
 

MaxTM

New Member
Reaction score
2
well, you want a windows that shows the game time?
I dont understand exactly what you want.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Lol, create a timer, create timer window, display timer window, and so on. Its easy to make one but, how u wan it?
 

UndeadDragon

Super Moderator
Reaction score
447
Do you want it to show a variable?
 
D

D4 W0RK4

Guest
function Trig_Timer_Actions takes nothing returns nothing
call CreateTimerDialogBJ( GetLastCreatedTimerBJ(), "TRIGSTR_141" )
call StartTimerBJ( GetLastCreatedTimerBJ(), false, 30 )
call TriggerSleepAction( 30.00 )
call DestroyTimerDialogBJ( GetLastCreatedTimerDialogBJ() )
endfunction

//===========================================================================
function InitTrig_Timer takes nothing returns nothing
set gg_trg_Timer = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Timer, 0.01 )
call TriggerAddAction( gg_trg_Timer, function Trig_Timer_Actions )
endfunction

--------------------------------------------------------------------------------------------------

I Think That Should Do It If You Want Game to End When Timer Finishes Just Add That On To End
+Rep Pls ^^
 
D

D4 W0RK4

Guest
function Trig_Timer_Actions takes nothing returns nothing
call CreateTimerDialogBJ( GetLastCreatedTimerBJ(), "TRIGSTR_147" )
call StartTimerBJ( GetLastCreatedTimerBJ(), false, 30 )
call TriggerSleepAction( 30.00 )
call DestroyTimerDialogBJ( GetLastCreatedTimerDialogBJ() )
call CustomDefeatBJ( Player(0), "TRIGSTR_148" )
endfunction

//===========================================================================
function InitTrig_Timer takes nothing returns nothing
set gg_trg_Timer = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Timer, 0.01 )
call TriggerAddAction( gg_trg_Timer, function Trig_Timer_Actions )
endfunction

----------------------------------------------------------------------------------------------------------------

Thats How To Make Game Over Once Timer Finished
Hf With That ^^
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top