- Joined
- Jun 2, 2009
- Messages
- 1,233
Hello everyone. I have a 3 timers. I will share the entire triggers with unnecessary parts just in case
1-) Game Timer. This trigger is initially off. Trigger runs by COMMAND AP
Trigger: COMMAND AP
gametimer ALWAYS desyncs with
It is not a big deal but i have annoyed because i cannot solve it.
I am suspecting about every 1 seconds event. Because i don't know how it affects when you decide to run it before second passed and currently i cannot test it by my own.
1-) Game Timer. This trigger is initially off. Trigger runs by COMMAND AP
-
gametimer
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set saniye = (saniye + 1)
-
Set ToplamGecenSaniye = (ToplamGecenSaniye + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(ToplamGecenSaniye mod 120) Equal to 0
-
-
Then - Actions
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(ToplamGecenSaniye mod 30) Equal to 0
-
ToplamGecenSaniye Greater than FirstCreepWaveTime
-
-
Then - Actions
-
If ((Clan Devils Barracks 0020 <gen> is alive) Equal to True) then do (Trigger - Run reaper orta <gen> (checking conditions)) else do (Trigger - Run reaper orta upgrade <gen> (checking conditions))
-
If ((Clan Devils Barracks 0021 <gen> is alive) Equal to True) then do (Trigger - Run reaper ust <gen> (checking conditions)) else do (Trigger - Run reaper ust upgrade <gen> (checking conditions))
-
If ((Clan Devils Barracks 0019 <gen> is alive) Equal to True) then do (Trigger - Run reaper alt <gen> (checking conditions)) else do (Trigger - Run reaper alt upgrade <gen> (checking conditions))
-
If ((Clan Reapers Barracks 0016 <gen> is alive) Equal to True) then do (Trigger - Run devil ust <gen> (checking conditions)) else do (Trigger - Run devil ust upgrade <gen> (checking conditions))
-
If ((Clan Reapers Barracks 0017 <gen> is alive) Equal to True) then do (Trigger - Run devil orta <gen> (checking conditions)) else do (Trigger - Run devil orta upgrade <gen> (checking conditions))
-
If ((Clan Reapers Barracks 0018 <gen> is alive) Equal to True) then do (Trigger - Run devil alt <gen> (checking conditions)) else do (Trigger - Run devil alt upgrade <gen> (checking conditions))
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
saniye Equal to 60
-
-
Then - Actions
-
Set dakika = (dakika + 1)
-
Set saniye = 0
-
-
Else - Actions
-
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Leaderboard - Add Player 6 (Orange) to ck_board[(Integer A)] with label (Game Time: + ((String(dakika)) + ( : + (String(saniye))))) and value 0
-
Leaderboard - Change the display style for Player 6 (Orange) in ck_board[(Integer A)] to Show the label, Hide the value, and Hide the icon
-
-
-
-
-
Maden
-
Events
-
Conditions
-
Actions
-
Set MadenTick[1] = 1
-
Set MadenTime = 1020.00
-
Countdown Timer - Start MadenTimer[1] as a One-shot timer that will expire in MadenTime seconds
-
Set MadenTimer[1] = (Last started timer)
-
Countdown Timer - Create a timer window for (Last started timer) with title |cFF0080FFMadenler|...
-
Set MadenWindow[1] = (Last created timer window)
-
For each (Integer A) from 1 to 14, do (Actions)
-
Loop - Actions
-
Countdown Timer - Show MadenWindow[1] for (Player((Integer A)))
-
-
-
Trigger - Turn on Maden Gold <gen>
-
-
-
Oyun baslangic timer
-
Events
-
Conditions
-
Actions
-
Countdown Timer - Start Tank_TimerSiege as a One-shot timer that will expire in 660.00 seconds
-
Countdown Timer - Create a timer window for (Last started timer) with title Mekanik 1
-
Set TankTimerW = (Last created timer window)
-
Countdown Timer - Change the color of the title for (Last created timer window) to (100.00%, 0.00%, 100.00%) with 0.00% transparency
-
-
Trigger: COMMAND AP
-
Command AP
-
Events
-
Time - Elapsed game time is 10.00 seconds
-
-
Conditions
-
mod_vs Equal to False
-
mod_cm Equal to False
-
mod_tp Equal to False
-
-
Actions
-
Set GameStarted = True
-
Game - Display to (All players) the text: |cfff5f5f5Oyun modu...
-
Countdown Timer - Start TimerCmCreepSpawn as a One-shot timer that will expire in 120.00 seconds
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player - Set (Picked player) Current lumber to 1
-
-
-
Set FirstCreepWaveTime = 120
-
Trigger - Turn off Command TEST <gen>
-
Trigger - Turn off Command CM <gen>
-
Trigger - Turn off Command VS <gen>
-
Trigger - Turn off Command SS <gen>
-
Countdown Timer - Start timer_creep_cikis_ap as a One-shot timer that will expire in 120.00 seconds
-
Countdown Timer - Start timer_lord_creep_devam as a One-shot timer that will expire in 2760.00 seconds
-
Countdown Timer - Start timer_nc_kucuk as a One-shot timer that will expire in 120.00 seconds
-
Trigger - Run Maden <gen> (checking conditions)
-
Trigger - Run Oyun baslangic timer <gen> (checking conditions)
-
Trigger - Turn on gametimer <gen>
-
Set mod_ap = True
-
-
gametimer ALWAYS desyncs with
-
Countdown Timer - Start Tank_TimerSiege as a One-shot timer that will expire in 660.00 seconds
-
Set MadenTick[1] = 1
-
Set MadenTime = 1020.00
-
Countdown Timer - Start MadenTimer[1] as a One-shot timer that will expire in MadenTime seconds
-
Set MadenTimer[1] = (Last started timer)
-
Countdown Timer - Create a timer window for (Last started timer) with title |cFF0080FFMadenler|...
-
Set MadenWindow[1] = (Last created timer window)
It is not a big deal but i have annoyed because i cannot solve it.
I am suspecting about every 1 seconds event. Because i don't know how it affects when you decide to run it before second passed and currently i cannot test it by my own.