Expiring timer, nothing happens.

lindenkron

You can change this now in User CP
Reaction score
102
Trigger:
  • Intro
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Set TempLocation = (Center of SpawnWolves <gen>)
      • Cinematic - Turn cinematic mode On for (All players)
      • Cinematic - Disable user control for (All players)
      • Cinematic - Send transmission to (All players) from a Player 1 (Red) Deer named Deer Speaker at TempLocation: Play No sound and display Hope you're all pre.... Modify duration: Add 3.00 seconds and Wait
      • Cinematic - Enable user control for (All players)
      • Cinematic - Turn cinematic mode Off for (All players)
      • Custom script: call RemoveLocation (udg_TempLocation)
      • Countdown Timer - Create a timer window for (Last started timer) with title Release in
      • Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 15.00 seconds
      • Set StartTimerWindow = (Last created timer window)
      • Set StartTimer = (Last started timer)


Trigger:
  • Start
    • Events
      • Time - StartTimer expires
    • Conditions
    • Actions
      • Game - Display to (All players) the text: HAII
      • Countdown Timer - Destroy StartTimerWindow
      • Destructible - Pick every destructible in SpawnWolves <gen> and do (Actions)
        • Loop - Actions
          • Destructible - Kill (Picked destructible)
      • For each (Integer A) from 4 to 10, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) slot status) Equal to Is playing
            • Then - Actions
              • Set TempLocation = (Center of StartLocation[(Integer A)])
              • Camera - Pan camera for (Player((Integer A))) to TempLocation over 0.00 seconds
              • Custom script: call RemoveLocation (udg_TempLocation)
            • Else - Actions


The text under Time - Timer Expires reads: "A timer expires when it reaches 0. Repeating timers expire every time they reach 0. Use 'Event Response - Expiring Timer' to refer to the timer that is expiring".

What my current triggers do. is basically nothing. It creates the timer, it starts it. But when it reaches 0 it just stands there, doing nothing. The 2nd trigger is not run, which I can't seem to get the solution to.

Any help?

Thx,
-Lindenkron
 

Artificial

Without Intelligence
Reaction score
326
Code:
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 15.00 seconds
[...]
Set StartTimer = (Last started timer)
Change that to:
Code:
Countdown Timer - Start [I]StartTimer[/I] as a One-shot timer that will expire in 15.00 seconds

When you're using variables in events, only the variable's value at map initialization will be used in the event. When the variable's value changes, the event's doesn't.
 
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