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

[Trigger] chances

Status
Not open for further replies.
  • Lives
    • Events
      • Unit - A unit enters T1 Portal <gen>
      • Unit - A unit enters T2 Portal <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (T1 Portal <gen> contains (Entering unit)) Equal to True
              • ((Entering unit) belongs to an enemy of Player 1 (Red)) Equal to True
        • Then - Actions
          • Unit - Kill (Entering unit)
          • Set Lives[1] = (Lives[1] - 1)
          • Game - Display to (All allies of Player 1 (Red)) for 10.00 seconds the text: ((|c00FF0303 + (String(Lives[1]))) + |r lives remaining)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Lives[1] Less than or equal to 0
            • Then - Actions
              • Game - Display to (All players) the text: ((Name of Player 1 (Red)) + and his team have lost.)
              • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
                • Loop - Actions
                  • Game - Defeat (Picked player) with the message: Defeat!
              • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
                • Loop - Actions
                  • Game - Victory (Picked player) (Show dialogs, Show scores)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (T2 Portal <gen> contains (Entering unit)) Equal to True
              • ((Entering unit) belongs to an enemy of Player 7 (Green)) Equal to True
        • Then - Actions
          • Unit - Kill (Entering unit)
          • Set Lives[2] = (Lives[2] - 1)
          • Game - Display to (All allies of Player 7 (Green)) for 10.00 seconds the text: ((|c00FF0303 + (String(Lives[1]))) + |r lives remaining)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Lives[2] Less than or equal to 0
            • Then - Actions
              • Game - Display to (All players) the text: ((Name of Player 7 (Green)) + and his team have lost.)
              • Player Group - Pick every player in (All allies of Player 7 (Green)) and do (Actions)
                • Loop - Actions
                  • Game - Defeat (Picked player) with the message: Defeat!
              • Player Group - Pick every player in (All enemies of Player 7 (Green)) and do (Actions)
                • Loop - Actions
                  • Game - Victory (Picked player) (Show dialogs, Show scores)
            • Else - Actions
        • Else - Actions

Hahahahahahahahaha!!!
I own...
 
Status
Not open for further replies.
Top