• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help creating timer

Status
Not open for further replies.
Level 14
Joined
Mar 27, 2008
Messages
1,003
Well, simply put. I need a game timer that says "Survive..." and it runs for 30 minutes. (The object of the map I'm making this for is to Survive for 30 minutes against a character called the lost one)

All that needs to be done is to create a timer that runs for 30 minutes. When the timer runs out, it makes all players except for player 12 (brown) win the game.

I have no clue how to work timers that count down (only ones that count up), that's the only problem lol. Can someone help?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 091
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Countdown Timer - Start timer as a One-shot timer that will expire in 30.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Title
  • Untitled Trigger 092
    • Events
      • Time - timer expires
    • Conditions
    • Actions
      • Wait 5.00 seconds
      • For each (Integer A) from 1 to 11, do (Actions)
        • Loop - Actions
          • Game - Victory (Player((Integer A))) (Show dialogs, Show scores)
      • Game - Defeat Player 12 (Brown) with the message: Defeat!
Use a variable for the timer.
 
Level 14
Joined
Mar 27, 2008
Messages
1,003
  • Untitled Trigger 091
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Countdown Timer - Start timer as a One-shot timer that will expire in 30.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Title
  • Untitled Trigger 092
    • Events
      • Time - timer expires
    • Conditions
    • Actions
      • Wait 5.00 seconds
      • For each (Integer A) from 1 to 11, do (Actions)
        • Loop - Actions
          • Game - Victory (Player((Integer A))) (Show dialogs, Show scores)
      • Game - Defeat Player 12 (Brown) with the message: Defeat!
Use a variable for the timer.

Thanks!
+ Rep
 
Status
Not open for further replies.
Top