need help in syncing these triggers

Juno**

Member
Reaction score
6
Guys! I need your expert minds to help in syncing (<--Is this even a word?) these timers and triggers..

okay heres a list of my triggers...
Trigger 1: Clock Setup
Code:
Time - Elapsed game time is 0.01 seconds
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Set Clock_Secs = 20
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Player - Set (Picked player) Food used to Clock_Secs
Trigger - Turn off (This trigger)

Trigger 2: Spawn countdown
Code:
Time - Elapsed game time is 80.00 seconds
Trigger - Turn on (All of my spawn triggers)

Trigger 3: HornOfCenarius sound countdown
Code:
Time - Elapsed game time is 98.00 seconds
Sound - Play TheHornOfCenarius <gen>

Trigger 4: 20 countdown
Code:
Time - Every 1.00 seconds of game time
Trigger - Turn off (This trigger)
Set Clock_Secs = (Clock_Secs - 1)
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Player - Set (Picked player) Food used to Clock_Secs
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Player - Set (Picked player) Current lumber to Clock_Mins
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        Clock_Secs Equal to 0
    Then - Actions
        Trigger - Turn on Clock 90 Second Countdown <gen>
        Trigger - Run Time is 20 seconds <gen> (ignoring conditions)
        Set Clock_Secs = 30
        Player Group - Pick every player in Players and do (Actions)
            Loop - Actions
                Player - Set (Picked player) Food used to Clock_Secs
        Set Clock_Mins = 1
        Player Group - Pick every player in Players and do (Actions)
            Loop - Actions
                Player - Set (Picked player) Current lumber to Clock_Mins
    Else - Actions
        Trigger - Turn on (This trigger)

Trigger 5: 90 Second Countdown
Code:
Time - Every 1.00 seconds of game time
Trigger - Turn off (This trigger)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Clock_Secs Equal to 0) and (Clock_Mins Equal to 0)
    Then - Actions
        Countdown Timer - Start Game_Time as a One-shot timer that will expire in 999999.00 seconds
        Trigger - Turn on Clock Main Clock <gen>
        Trigger - Turn on Income Per Second <gen>
    Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Clock_Secs Equal to 0) and (Clock_Mins Equal to 1)
            Then - Actions
                Set Clock_Mins = 0
                Set Clock_Secs = 60
                Set Clock_Secs = (Clock_Secs - 1)
                Player Group - Pick every player in Players and do (Actions)
                    Loop - Actions
                        Player - Set (Picked player) Food used to Clock_Secs
                Player Group - Pick every player in Players and do (Actions)
                    Loop - Actions
                        Player - Set (Picked player) Current lumber to Clock_Mins
                Trigger - Turn on (This trigger)
            Else - Actions
                Set Clock_Secs = (Clock_Secs - 1)
                Player Group - Pick every player in Players and do (Actions)
                    Loop - Actions
                        Player - Set (Picked player) Food used to Clock_Secs
                Player Group - Pick every player in Players and do (Actions)
                    Loop - Actions
                        Player - Set (Picked player) Current lumber to Clock_Mins
                Trigger - Turn on (This trigger)

Trigger 6: Main Clock (not a countdown clock)
Code:
Time - Every 1.00 seconds of game time
Trigger - Turn off (This trigger)
Set Clock_Secs = (Clock_Secs + 1)
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Player - Set (Picked player) Food used to Clock_Secs
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        Clock_Secs Equal to 60
    Then - Actions
        Set Clock_Secs = 0
        Set Clock_Mins = (Clock_Mins + 1)
    Else - Actions
Player Group - Pick every player in Players and do (Actions)
    Loop - Actions
        Player - Set (Picked player) Current lumber to Clock_Mins
Trigger - Turn on (This trigger)

My spawn triggers every 30 seconds... and the starting time of the day is 0.30 (12:30 am)

I really need your help guys... I really want to sync the timers, the spawns and the time of the day...

by the way, what I mean by sync is that.. when the 90 second countdown ends, the spawns appear, the night turns to day, and the horn of cenarius has already ended playing..

Pleaassee guyyss!!!!
 
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