brodygs9630
TH.net Regular
- Reaction score
- 6
I recently posted a tread that I need help finding a Win/Lose trigger for my game(Survive the Lava Lord).Someone told me to do SOMETHING like this:
Win/Lose trigger:
For some reason,it didn't work.I'm guessing that the varibles are wrong. But anyways, I was hoping I could find a different trigger.All help needed!
PS:Help = +rep!
Win/Lose trigger:
Trigger:
- Events
- Time - Elapsed game time is 82.00 seconds
- Conditions
- Actions
- Set Leak_Group = (Units of type Human Explorer)
- Set count_explorers = 11
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- count_explorers Equal to 0
- Then - Actions
- Game - Display to (All players) for 15.00 seconds the text: The Lava Lord has k...
- Wait 15.00 seconds
- Game - Victory Player 12 (Brown) (Show dialogs, Show scores)
- Else - Actions
- Unit Group - Pick every unit in Leak_Group and do (Actions)
- Loop - Actions
- Game - Display to (All players) for 2.00 seconds the text: The Explorers have ...
- Wait 2.00 seconds
- If (((Picked unit) is alive) Equal to True) then do (Game - Victory (Owner of (Picked unit)) (Show dialogs, Show scores)) else do (Game - Defeat (Owner of (Picked unit)) with the message: Oh No!You died =()
- Set Lava_Lord = (Units owned by Player 12 (Brown))
- Game - Display to Player Group - Player 12 (Brown) for 15.00 seconds the text: You let the Exlorer...
- Unit Group - Pick every unit in Lava_Lord and do (Game - Defeat (Owner of (Picked unit)) with the message: The Explorers got a...)
- Loop - Actions
- Unit Group - Pick every unit in Leak_Group and do (Actions)
- If - Conditions
For some reason,it didn't work.I'm guessing that the varibles are wrong. But anyways, I was hoping I could find a different trigger.All help needed!
PS:Help = +rep!