1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  6. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  7. Vote for the best entries in the 13th Music Contest Poll.
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Kajinieku Kars V1.6.w3x
Variables
Initialization
Setup Players
TEKSTS
Bridinajums
HARD mode
Iznicinat Altarus
Taktiska Kamera
Taktiska Kamera1
Taktiska Kamera2
Taktiska Kamera3
Taktiska Kamera4
Taktiska Kamera5
Taktiska Kamera6
Computer STUFF
AI1 Atdzivinat
AI2 Atdzivinat
AI3 Atdzivinat
AI4 Atdzivinat
AI5 Atdzivinat
AI6 Atdzivinat
AI1 Iet uz Centru
AI2 Iet uz Centru
AI3 Iet uz Centru
AI4 Iet uz Centru
AI5 Iet uz Centru
AI6 Iet uz Centru
AI1 Uzbrukt
AI2 Uzbrukt
AI3 Uzbrukt
AI4 Uzbrukt
AI5 Uzbrukt
AI6 Uzbrukt
AI1 uzlabojas
AI2 uzlabojas
AI3 uzlabojas
AI4 uzlabojas
AI5 uzlabojas
AI6 uzlabojas
Taisit Armiju
Taisit Kajiniekus
Taisit Zelta Bruniniekus
Taisit Jatniekus
Taisit DAUDZ Rukkus ar bisem
Taisit Magiskos Brunieniekus
Taisit Neuzvaramos
Taisit Gruntus
Taisit Trakos Trollus
Taisit Raiderus
Taisit Taurenus
Taisit Orku Bruniniekus
Taisit Mironjus
Taisit Vaboles
Taisit Skeletonus
Taisit Riebigos
Taisit Naves Bruniniekus
Taisit Locinieces
Taisit Mednieces
Taisit Driadas
Taisit Meness Locinieces
Taisit Uzraudzes
Taisit Murgulus Slepkavas
Taisit Naga Sirenas
Taisit Juras Drakonus
Taisit Naga Rokaspuisus
Taisit Naga Svetos Sargus
Speletajs zaude
Building Destroyed
Check if Players Leave
Uzvaras Condition
Winners Declared
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.

		
Name Type Is Array Initial Value
ForceOne force No
ForceTwo force No
KillTotals integer Yes
Leaderboard leaderboard No
random integer No
Setup Players
  Events
    Map initialization
  Conditions
  Actions
    For each (Integer A) from 1 to 8, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Player((Integer A))) slot status) Not equal to Is playing
          Then - Actions
            Player Group - Remove (Picked player) from (All players).
            Unit Group - Pick every unit in (Units owned by (Player((Integer A))).) and do (Actions)
              Loop - Actions
                Unit - Remove (Picked unit) from the game
          Else - Actions
    -------- Give players gold, turn bounty on, and vision the middle --------
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player).Current gold to 2000
        Player - Turn Gives bounty On for (Picked player)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (((Picked player) is an ally of Player 1 (Red).) Equal to True) or (((Picked player) is in Player Group - Player 1 (Red).) Equal to True)
          Then - Actions
          Else - Actions
    -------- Create the teams --------
    Player Group - Add Player 1 (Red) to ForceOne
    Player Group - Add Player 2 (Blue) to ForceOne
    Player Group - Add Player 3 (Teal) to ForceOne
    Player Group - Add Player 4 (Purple) to ForceTwo
    Player Group - Add Player 5 (Yellow) to ForceTwo
    Player Group - Add Player 6 (Orange) to ForceTwo
    For each (Integer A) from 1 to 8, do (Actions)
      Loop - Actions
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across ForceOne <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across ForceOne <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across ForceOne <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across ForceTwo <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Visibility across ForceTwo <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across ForceTwo <gen>
    Melee Game - Use melee time of day (for all players)
    Melee Game - Limit Heroes to 1 per Hero-type (for all players)
    Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
TEKSTS
  Events
    Time - Elapsed game time is 20.00 seconds
  Conditions
  Actions
    Game - Display to (All players) the text: Varoni var izveleties pie Altara
    If ((Player 1 (Red) controller) Equal to Computer) then do (Create 1.Ceribas Burvis for Player 1 (Red) at (Center of Player_1 <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 2 (Blue) controller) Equal to Computer) then do (Create 1.Paladins for Player 2 (Blue) at (Center of Player_2 <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 3 (Teal) controller) Equal to Computer) then do (Create 1.Demonu Mednieks for Player 3 (Teal) at (Center of Player_3 <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 4 (Purple) controller) Equal to Computer) then do (Create 1.Zveru Pavelnieks for Player 4 (Purple) at (Center of Player_4 <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 5 (Yellow) controller) Equal to Computer) then do (Create 1.Demons for Player 5 (Yellow) at (Center of Player_5 <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 6 (Orange) controller) Equal to Computer) then do (Create 1.Uguns Pavelnieks for Player 6 (Orange) at (Center of Player_6 <gen>) facing Default building facing degrees) else do (Do nothing)
Bridinajums
  Events
    Time - Elapsed game time is 50.00 seconds
  Conditions
  Actions
    Game - Display to (All players) the text: Varonju Altari pazudis pec 10 sekundem !!!
HARD mode
  Events
    Player - Player 1 (Red) types a chat message containing -tooeasy (stringnoformat) as A substring
    Player - Player 1 (Red) types a chat message containing -kompjuteriirluzeri (stringnoformat) as A substring
    Player - Player 1 (Red) types a chat message containing -THEYSUCK (stringnoformat) as A substring
  Conditions
  Actions
    If ((Player 4 (Purple) controller) Equal to Computer) then do (Create 10.Neuzveicamais for Player 4 (Purple) at (Center of Hard_mode <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 5 (Yellow) controller) Equal to Computer) then do (Create 10.Neuzveicamais for Player 5 (Yellow) at (Center of Hard_mode <gen>) facing Default building facing degrees) else do (Do nothing)
    If ((Player 6 (Orange) controller) Equal to Computer) then do (Create 10.Neuzveicamais for Player 6 (Orange) at (Center of Hard_mode <gen>) facing Default building facing degrees) else do (Do nothing)
Iznicinat Altarus
  Events
    Time - Elapsed game time is 60.00 seconds
  Conditions
  Actions
    Unit - Remove Varonju Altars - 2 0031 <gen> from the game
    Unit - Remove Varonju Altars - 2 0032 <gen> from the game
    Unit - Remove Varonju Altars - 2 0033 <gen> from the game
    Unit - Remove Varonju Altars - 2 0034 <gen> from the game
    Unit - Remove Varonju Altars - 2 0035 <gen> from the game
    Unit - Remove Varonju Altars - 2 0036 <gen> from the game
    Unit - Remove Varonju Altars - 1 0025 <gen> from the game
    Unit - Remove Varonju Altars - 1 0026 <gen> from the game
    Unit - Remove Varonju Altars - 1 0027 <gen> from the game
    Unit - Remove Varonju Altars - 1 0028 <gen> from the game
    Unit - Remove Varonju Altars - 1 0029 <gen> from the game
    Unit - Remove Varonju Altars - 1 0030 <gen> from the game
Taktiska Kamera1
  Events
    Player - Player 1 (Red) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 1 (Red) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_001 for Player 1 (Red) over 0.50 seconds
Taktiska Kamera2
  Events
    Player - Player 2 (Blue) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_001 for Player 2 (Blue) over 0.50 seconds
Taktiska Kamera3
  Events
    Player - Player 3 (Teal) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_001 for Player 3 (Teal) over 0.50 seconds
Taktiska Kamera4
  Events
    Player - Player 4 (Purple) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_002 for Player 4 (Purple) over 0.50 seconds
Taktiska Kamera5
  Events
    Player - Player 5 (Yellow) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_002 for Player 5 (Yellow) over 0.50 seconds
Taktiska Kamera6
  Events
    Player - Player 6 (Orange) types a chat message containing -taktiskakamera (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -tcam (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - .Apply. gg_cam_Camera_002 for Player 6 (Orange) over 0.50 seconds
AI1 Atdzivinat
  Events
    Unit - A unit owned by Player 1 (Red).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_1 <gen>), Show revival graphics
      Else - Actions
AI2 Atdzivinat
  Events
    Unit - A unit owned by Player 2 (Blue).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 2 (Blue) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_2 <gen>), Show revival graphics
      Else - Actions
AI3 Atdzivinat
  Events
    Unit - A unit owned by Player 3 (Teal).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 3 (Teal) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_3 <gen>), Show revival graphics
      Else - Actions
AI4 Atdzivinat
  Events
    Unit - A unit owned by Player 4 (Purple).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 4 (Purple) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_4 <gen>), Show revival graphics
      Else - Actions
AI5 Atdzivinat
  Events
    Unit - A unit owned by Player 5 (Yellow).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 5 (Yellow) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_5 <gen>), Show revival graphics
      Else - Actions
AI6 Atdzivinat
  Events
    Unit - A unit owned by Player 6 (Orange).Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 6 (Orange) controller) Equal to Computer
        ((Dying unit) is A Hero) Equal to True
      Then - Actions
        Hero - Instantly revive (Dying unit) at (Center of Player_6 <gen>), Show revival graphics
      Else - Actions
AI1 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 1 (Red) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceOne <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 1 (Red)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI2 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 2 (Blue) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceOne <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 2 (Blue)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI3 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 3 (Teal) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceOne <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 3 (Teal)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI4 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 4 (Purple) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceTwo <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 4 (Purple)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI5 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 5 (Yellow) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceTwo <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 5 (Yellow)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI6 Iet uz Centru
  Events
    Time - Every 32.00 seconds of game time
  Conditions
    (Player 6 (Orange) controller) Equal to Computer
  Actions
    Unit Group - Pick every unit in (Units in ForceTwo <gen>) and do (If ((Owner of (Picked unit)) Equal to Player 6 (Orange)) then do (Order (Picked unit) to Move To.(Center of Center <gen>)) else do (Do nothing))
AI1 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 1 (Red)) and ((Player 4 (Purple) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 4 (Purple) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 1 (Red)) and ((Player 5 (Yellow) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 5 (Yellow) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 1 (Red)) and ((Player 6 (Orange) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 6 (Orange) start location)) else do (Do nothing)
      Else - Actions
AI2 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 2 (Blue)) and ((Player 4 (Purple) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 4 (Purple) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 2 (Blue)) and ((Player 5 (Yellow) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 5 (Yellow) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 2 (Blue)) and ((Player 6 (Orange) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 6 (Orange) start location)) else do (Do nothing)
      Else - Actions
AI3 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 3 (Teal)) and ((Player 4 (Purple) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 4 (Purple) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 3 (Teal)) and ((Player 5 (Yellow) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 5 (Yellow) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 3 (Teal)) and ((Player 6 (Orange) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 6 (Orange) start location)) else do (Do nothing)
      Else - Actions
AI4 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 4 (Purple)) and ((Player 1 (Red) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 1 (Red) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 4 (Purple)) and ((Player 2 (Blue) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 2 (Blue) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 4 (Purple)) and ((Player 3 (Teal) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 3 (Teal) start location)) else do (Do nothing)
      Else - Actions
AI5 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 5 (Yellow)) and ((Player 1 (Red) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 1 (Red) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 5 (Yellow)) and ((Player 2 (Blue) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 2 (Blue) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 5 (Yellow)) and ((Player 3 (Teal) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 3 (Teal) start location)) else do (Do nothing)
      Else - Actions
AI6 Uzbrukt
  Events
    Unit - A unit enters Center <gen>
  Conditions
    ((Owner of (Entering unit)) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 3)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 6 (Orange)) and ((Player 1 (Red) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 1 (Red) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 6 (Orange)) and ((Player 2 (Blue) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 2 (Blue) start location)) else do (Do nothing)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        If (((Owner of (Entering unit)) Equal to Player 6 (Orange)) and ((Player 3 (Teal) slot status) Equal to Is playing)) then do (Order (Entering unit) to Attack-Move To.(Player 3 (Teal) start location)) else do (Do nothing)
      Else - Actions
AI1 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 1 (Red) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0001 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0001 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0001 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0001 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
AI2 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 2 (Blue) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0002 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0002 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0002 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0002 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
AI3 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 3 (Teal) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0003 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0003 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0003 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0003 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
AI4 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 4 (Purple) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0012 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0012 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0012 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0012 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
AI5 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 5 (Yellow) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0013 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0013 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0013 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0013 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
AI6 uzlabojas
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
    (Player 6 (Orange) controller) Equal to Computer
  Actions
    Set VariableSet random = (Random integer number between 1 and 4)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 1
      Then - Actions
        Unit - Order Pils - lvl 1 0016 <gen> to train/upgrade to a Pils - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 2
      Then - Actions
        Unit - Order Pils - lvl 1 0016 <gen> to train/upgrade to a Cietoksnis - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 3
      Then - Actions
        Unit - Order Pils - lvl 1 0016 <gen> to train/upgrade to a Kapenes - lvl 2
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        random Equal to 4
      Then - Actions
        Unit - Order Pils - lvl 1 0016 <gen> to train/upgrade to a Dzivibas Koks - lvl 2
      Else - Actions
Taisit Kajiniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 1))) Equal to True) then do (Create 1.Kajinieks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Zelta Bruniniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 2))) Equal to True) then do (Create 1.Zelta Bruninieks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Jatniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 3))) Equal to True) then do (Create 1.Jatnieks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit DAUDZ Rukkus ar bisem
  Events
    Time - Every 7.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 4))) Equal to True) then do (Create 2.Rukkis ar bisi for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Magiskos Brunieniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 5))) Equal to True) then do (Create 1.Magiskais Bruninieks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Neuzvaramos
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pils - lvl 6))) Equal to True) then do (Create 1.Neuzveicamais for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Gruntus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Cietoksnis - lvl 2))) Equal to True) then do (Create 1.Grunts for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Trakos Trollus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Cietoksnis - lvl 3))) Equal to True) then do (Create 1.Trakais Trollis for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Raiderus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Cietoksnis - lvl 4))) Equal to True) then do (Create 1.Raiders for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Taurenus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Cietoksnis - lvl 5))) Equal to True) then do (Create 1.Taurens for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Orku Bruniniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Cietoksnis - lvl 6))) Equal to True) then do (Create 1.Orku Bruninieks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Mironjus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Kapenes - lvl 2))) Equal to True) then do (Create 1.Mironis for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Vaboles
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Kapenes - lvl 3))) Equal to True) then do (Create 1.Vabole for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Skeletonus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Kapenes - lvl 4))) Equal to True) then do (Create 1.Skeletons for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Riebigos
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Kapenes - lvl 5))) Equal to True) then do (Create 1.Riebigais for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Naves Bruniniekus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Kapenes - lvl 6))) Equal to True) then do (Create 1.Barlogs for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Locinieces
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Dzivibas Koks - lvl 2))) Equal to True) then do (Create 1.Lociniece for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Mednieces
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Dzivibas Koks - lvl 3))) Equal to True) then do (Create 1.Medniece for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Driadas
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Dzivibas Koks - lvl 4))) Equal to True) then do (Create 1.Driada for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Meness Locinieces
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Dzivibas Koks - lvl 5))) Equal to True) then do (Create 1.Meness Lociniece for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Uzraudzes
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Dzivibas Koks - lvl 6))) Equal to True) then do (Create 1.Uzraudze for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Murgulus Slepkavas
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Juras Templis - lvl 2))) Equal to True) then do (Create 1.Murguls Slepkava for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Naga Sirenas
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Juras Templis - lvl 3))) Equal to True) then do (Create 1.Naga Sirena for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Juras Drakonus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Juras Templis - lvl 4))) Equal to True) then do (Create 1.Juras Drakons for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Naga Rokaspuisus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Juras Templis - lvl 5))) Equal to True) then do (Create 1.Naga Rokaspuisis for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Taisit Naga Svetos Sargus
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Juras Templis - lvl 6))) Equal to True) then do (Create 1.Naga Svetais Sargs for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Building Destroyed
  Events
    Unit - A unit Dies
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 1
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 2
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 3
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 4
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 5
        (Unit-type of (Triggering unit)) Equal to Pils - lvl 6
        (Unit-type of (Triggering unit)) Equal to Cietoksnis - lvl 2
        (Unit-type of (Triggering unit)) Equal to Cietoksnis - lvl 3
        (Unit-type of (Triggering unit)) Equal to Cietoksnis - lvl 4
        (Unit-type of (Triggering unit)) Equal to Cietoksnis - lvl 5
        (Unit-type of (Triggering unit)) Equal to Cietoksnis - lvl 6
        (Unit-type of (Triggering unit)) Equal to Kapenes - lvl 2
        (Unit-type of (Triggering unit)) Equal to Kapenes - lvl 3
        (Unit-type of (Triggering unit)) Equal to Kapenes - lvl 4
        (Unit-type of (Triggering unit)) Equal to Kapenes - lvl 5
        (Unit-type of (Triggering unit)) Equal to Kapenes - lvl 6
        (Unit-type of (Triggering unit)) Equal to Dzivibas Koks - lvl 2
        (Unit-type of (Triggering unit)) Equal to Dzivibas Koks - lvl 3
        (Unit-type of (Triggering unit)) Equal to Dzivibas Koks - lvl 4
        (Unit-type of (Triggering unit)) Equal to Dzivibas Koks - lvl 5
        (Unit-type of (Triggering unit)) Equal to Dzivibas Koks - lvl 6
  Actions
    Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + Pakasa)
    Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Kill (Picked unit))
    Player Group - Remove (Owner of (Triggering unit)) from (All players).
Check if Players Leave
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked player) slot status) Not equal to Is playing
          Then - Actions
            Unit Group - Pick every unit in (Units owned by (Picked player).) and do (Kill (Picked unit))
            Game - Display to (All players) the text: ((Name of (Picked player)) + aizgaja prom ,jo vins ir NOOBS)
            Player Group - Remove (Picked player) from (All players).
          Else - Actions
            Do nothing
Winners Declared
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) is in (All players).) Equal to False
        (Player 2 (Blue) is in (All players).) Equal to False
        (Player 3 (Teal) is in (All players).) Equal to False
      Then - Actions
        Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
        Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
        Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
        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!
        Trigger - Turn off (This trigger)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 4 (Purple) is in (All players).) Equal to False
        (Player 5 (Yellow) is in (All players).) Equal to False
        (Player 6 (Orange) is in (All players).) Equal to False
      Then - Actions
        Game - Victory Player 1 (Red) (Show dialogs, Show scores)
        Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
        Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
        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!
        Trigger - Turn off (This trigger)
      Else - Actions
        Do nothing