Cfw_Master
New Member
- Reaction score
- 1
Two more questions:
1: How can I make it so that there are 8 rescuable units? Each unit should be rescuable by each player so that there is one unit per player. However, before the player gets to the area, the rescuable unit should not be able to be seen.
2: I'm having some issues with creating a timer. The timer and title works perfectly, but when the timer reaches 0, the trigger i connected it to doesn't work. Instead, the timer just stays at zero.
Thanks for your help and +rep as always
1: How can I make it so that there are 8 rescuable units? Each unit should be rescuable by each player so that there is one unit per player. However, before the player gets to the area, the rescuable unit should not be able to be seen.
2: I'm having some issues with creating a timer. The timer and title works perfectly, but when the timer reaches 0, the trigger i connected it to doesn't work. Instead, the timer just stays at zero.
Code:
Timer
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 3600.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Gauntlet Collapse
Countdown Timer - Show (Last created timer window)
Set Timer = (Last started timer)
Trigger - Turn on Defeat <gen>
Code:
Defeat
Events
Time - Timer expires
Conditions
Actions
Unit - Pause all units
Wait 10.00 seconds
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Defeat Player 8 (Pink) with the message: Defeat!
Thanks for your help and +rep as always