• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

I need help on a trigger, or triggers.

Status
Not open for further replies.
Level 2
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

  • 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
          • 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
              • 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
 

Attachments

  • Balanced Micro Arena WOT edition.w3x
    77.6 KB · Views: 93
Last edited:
Level 2
Joined
Oct 11, 2009
Messages
6
there are no teams, its a tournement type game, *micro arena* 2 ppl play at a time, and i cant seem to get it right, there is a total of 10 or 11, and i cant get the thign to work.

*edit* the winning condition is, who ever has no units left is the winner.
 
Last edited:
Status
Not open for further replies.
Top