- Joined
- Oct 11, 2009
- Messages
- 6
well.. i need help on a trigger, or triggers. and its getting to me.
I guess i dont know how to make a trigger *gui* that starts a match, listens for winner, or loser, tie, etc. and starts a new match again. ive been trying for 2 days now to get it to work, and its not doing it. ANy help would be appreciated.
this is the current triggering im using now
I guess i dont know how to make a trigger *gui* that starts a match, listens for winner, or loser, tie, etc. and starts a new match again. ive been trying for 2 days now to get it to work, and its not doing it. ANy help would be appreciated.
this is the current triggering im using now
-
Declare Winner
-
Events
- Time - Every 3.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in (Units in Arena1 <gen> owned by D_Opressorright)) Less than 1
- F_Roundinprogress Equal to True
-
Then - Actions
- Game - Display to (All players) for 12.00 seconds the text: ((Name of D_Opressorleft) + ( Has beaten + ((Name of D_Opressorright) + in a fair match. Next round will start soon.)))
- Player Group - Remove D_Opressorright from D_PlayerGroups
-
Unit Group - Pick every unit in (Units in Arena1 <gen>) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
-
Loop - Actions
- Wait 3.00 seconds
- Set F_Roundinprogress = False
- Countdown Timer - Start D_Timer as a One-shot timer that will expire in 30.00 seconds
- Trigger - Turn off (This trigger)
- Trigger - Turn off Declare Winner <gen>
- Trigger - Turn on Listen For Rematch <gen>
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in (Units in Arena1 <gen> owned by D_Opressorleft)) Less than 1
- F_Roundinprogress Equal to True
-
Then - Actions
- Game - Display to (All players) for 12.00 seconds the text: ((Name of D_Opressorright) + ( Has beaten + ((Name of D_Opressorleft) + in a fair match. Next round will start soon.)))
- Player Group - Remove D_Opressorleft from D_PlayerGroups
-
Unit Group - Pick every unit in (Units in Arena1 <gen>) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
-
Loop - Actions
- Wait 3.00 seconds
- Set F_Roundinprogress = False
- Countdown Timer - Start D_Timer as a One-shot timer that will expire in 30.00 seconds
- Trigger - Turn off (This trigger)
- Trigger - Turn off Declare Winner <gen>
- Trigger - Turn on Listen For Rematch <gen>
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Attachments
Last edited: