| 07-27-2004, 04:16 PM | #1 |
I have not done triggers in a long time and could someone help me set up a timer trigger? I need it to be 45 minutes, create a window, and kill one team when it reaches zero Thank You in advance |
| 07-27-2004, 05:32 PM | #2 |
how would you decide which team to kill? |
| 07-27-2004, 06:19 PM | #3 |
When the time reaches zero players 5,6,7, and 8 lose |
| 07-28-2004, 02:17 PM | #4 |
someone has to know how to do this |
| 07-28-2004, 02:43 PM | #5 |
It's fairly easy: You'll have to use the trigger countdown timer: create timer. set it up, using a variable to store the timer. Then make a new trigger and use the event time - timer elapses (or similar), using the timer variable zou just created. there check for lose conditions or just make a team lose. |
| 07-28-2004, 04:31 PM | #6 |
Variable? explain this a little more clearly |
| 07-28-2004, 05:32 PM | #7 |
1) create a timer, using countdown timer - create timer setting it to 45*60sec = 2700 sec = 45 min. 2) now either directly in the create timer function or through a set variable function, you have to store the timer as a variable, e.g. "timer1". 3) now use countdown timer - create timer window and show timer window to show the timer onscreen. i believe with those you have to use the variable. 4) in a new trigger check for the timer reaching 0, using time - timer elapses. there you'll have to select the timer you want to check, your "timer1". 5) as actions defeat the losing team. i hope i'm right, since i can't check right now (i'm not at home). but i will once i'm back home. |
| 07-28-2004, 06:42 PM | #8 |
Counter Events Map initialization Conditions Actions Countdown Timer - Start timer as a One-shot timer that will expire in 2700.00 seconds Countdown Timer - Create a timer window for timer with title Time Remaining Countdown Timer - Show (Last created timer window) for Player 1 (Red) Countdown Timer - Show (Last created timer window) for Player 2 (Blue) Countdown Timer - Show (Last created timer window) for Player 3 (Teal) Countdown Timer - Show (Last created timer window) for Player 4 (Purple) Countdown Timer - Show (Last created timer window) for Player 5 (Yellow) Countdown Timer - Show (Last created timer window) for Player 6 (Orange) Countdown Timer - Show (Last created timer window) for Player 7 (Green) Countdown Timer - Show (Last created timer window) for Player 8 (Pink) I bet I am doing something Really Stupid because I can't get the timer Window to Show EDIT: Nevermind I did not know they could not be displayed at Inzlization I got the trigger to work |
