Am I forgetting Something Here!?

Juno**

Member
Reaction score
6
Just a very quick question... In the map init, I used the trigger action "Game - Set the time of day to 24.00" and now the clock on my map won't budge even for a sec... am I forgetting to do something here? All I wanted was the clock to be set to that time and continue counting, that's all..
 

Juno**

Member
Reaction score
6
Trigger:
  • Game - Set the time of day to 24.00
    • Player - Set name of Player 1 (Red) to (Name of Player 1 (Red))
    • Player - Set name of Player 7 (Green) to (Name of Player 7 (Green))
    • -------- -- --------
    • Set Combine_Charged_Items = True
    • Set Combine_Charges_Max = 15
    • Set Commands_Repick_Cost = -150
    • Set Players_NHostile_Revive_Time = 30.00
    • Set Players_Sentinel_Allies = (All allies of Player 1 (Red))
    • Set Players_Scourge_Allies = (All allies of Player 7 (Green))
    • Player Group - Remove Player 1 (Red) from Players_Sentinel_Allies
    • Player Group - Remove Player 7 (Green) from Players_Sentinel_Allies
    • -------- -- --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 2 (Blue) slot status) Equal to Is playing
      • Then - Actions
        • Set Players_Sentinel_Count = (Players_Sentinel_Count + 1)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 3 (Teal) slot status) Equal to Is playing
      • Then - Actions
        • Set Players_Sentinel_Count = (Players_Sentinel_Count + 1)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 4 (Purple) slot status) Equal to Is playing
      • Then - Actions
        • Set Players_Sentinel_Count = (Players_Sentinel_Count + 1)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 5 (Yellow) slot status) Equal to Is playing
      • Then - Actions
        • Set Players_Sentinel_Count = (Players_Sentinel_Count + 1)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Player 6 (Orange) slot status) Equal to Is playing
      • Then - Actions
        • Set Players_Sentinel_Count = (Players_Sentinel_Count + 1)
      • Else - Actions
    • -------- -- --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Players_Sentinel_Count Equal to 1
      • Then - Actions
        • Set Players_Sentinel_Gold = 4265
      • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Players_Sentinel_Count Equal to 2
          • Then - Actions
            • Set Players_Sentinel_Gold = 2132
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Players_Sentinel_Count Equal to 3
              • Then - Actions
                • Set Players_Sentinel_Gold = 1421
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • Players_Sentinel_Count Equal to 4
                  • Then - Actions
                    • Set Players_Sentinel_Gold = 1066
                  • Else - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • Players_Sentinel_Count Equal to 5
                      • Then - Actions
                        • Set Players_Sentinel_Gold = 853
                      • Else - Actions
    • -------- -- --------
    • Trigger - Run Setup Player Flags <gen> (ignoring conditions)
    • Trigger - Run Setup Players <gen> (ignoring conditions)
    • Trigger - Run Setup Player Colors <gen> (ignoring conditions)
    • Trigger - Run Setup Clock <gen> (ignoring conditions)
    • Trigger - Run Setup Neutral Creeps <gen> (ignoring conditions)
    • Trigger - Run Setup Circle Items <gen> (ignoring conditions)
    • Trigger - Run Setup Yin and Yang <gen> (ignoring conditions)
    • Trigger - Run Setup Kill System <gen> (ignoring conditions)
    • Trigger - Run Setup Buildings <gen> (ignoring conditions)
    • [wc3/]


These are run at map init, so i don't think any of them are stopping the clock...
By the way.. Trigger - Run Setup Clock <gen> (ignoring conditions) .. is a clock utilizing the lumber and the food area and I don't think it would also stop the clock...
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Go to your trigger, select "Copy as Text", then come back here and paste that directly into your code tags.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
It doesn't show the Events and/or Conditions.
And use the WC3 tags like you were trying to.
The closing bracket starts with the / first though.
 

Juno**

Member
Reaction score
6
The trigger is run in the map init (It means that its event is (Map Initialization)) and it doesn't have any conditions so I only posted the actions...
 

SouLEDGE

Damn you advanced calculus
Reaction score
75
So your clock worked before you tried to set the game time to 00:00?
If so, try adding a 1sec wait to the end of your map init trigger and then
try setting the game time
 

dracolich

TH.net Regular
Reaction score
15
well, custom triggers should be called after base settings, so try 2 ways:
1) set trigger to register not a game start, but game time elapsed 0.00
2) create a new trigger with all the same, but w/o other code you have here (just like split it).
 

Juno**

Member
Reaction score
6
It's working fine now thanks guys! All you methods worked, but I used the elapsed game time - 0.00... thanks again!
 
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