• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Multiple Races for Players & Computers

Status
Not open for further replies.
Level 30
Joined
Mar 14, 2014
Messages
1,215
Greetings friends,

i have made a trigger (multiple in fact) that can do special things:
-Also you will see that this is in german so be aware of that.
-Also there is a lack of an Victory/Defeat trigger, which should behave like normal gameplay would.
I hope you can help me with that.


This is the entire Melee Initialization trigger, but please ignore the things after '-------- Neutral --------'
  • Melee Initialization
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Aktionen
      • Nahkampf-Spiel - Use melee time of day (for all players)
      • Nahkampf-Spiel - Limit Heroes to 1 per Hero-type (for all players)
      • Nahkampf-Spiel - Give trained Heroes a Scroll of Town Portal (for all players)
      • Nahkampf-Spiel - Set starting resources (for all players)
      • Nahkampf-Spiel - Remove creeps and critters from used start locations (for all players)
      • Nahkampf-Spiel - Create starting units (for all players)
      • -------- Players --------
      • Set PlayerNumber[1] = Spieler 1 (Rot)
      • Set PlayerNumber[2] = Spieler 2 (Blau)
      • Set PlayerNumber[3] = Spieler 3 (Blaugrau)
      • Set PlayerNumber[4] = Spieler 4 (Lila)
      • Set PlayerNumber[5] = Spieler 5 (Gelb)
      • Set PlayerNumber[6] = Spieler 6 (Orange)
      • Set PlayerNumber[7] = Spieler 7 (Grün)
      • Set PlayerNumber[8] = Spieler 8 (Rosa)
      • Set PlayerNumber[9] = Spieler 9 (Grau)
      • Set PlayerNumber[10] = Spieler 10 (Hellblau)
      • Set PlayerNumber[11] = Spieler 11 (Dunkelgrün)
      • Set PlayerNumber[12] = Spieler 12 (Braun)
      • -------- Neutral --------
      • Einheit - Make Keiler-Haupthaus (Quilboar) 0119 <gen> Unverwundbar
      • Spieler - Change color of Spieler 4 (Lila) to Orange, Farbe wird gewechselt ... of existing units
      • Spieler - Set name of Spieler 4 (Lila) to Keiler
      • Einheitengruppe - Pick every unit in (Units owned by Spieler 4 (Lila) of type Rathaus) and do (Actions)
        • Schleifen - Aktionen
          • Einheit - Remove (Picked unit) from the game
      • Einheitengruppe - Pick every unit in (Units owned by Spieler 4 (Lila) of type Haupthaus) and do (Actions)
        • Schleifen - Aktionen
          • Einheit - Remove (Picked unit) from the game
      • Einheitengruppe - Pick every unit in (Units owned by Spieler 4 (Lila) of type Peon) and do (Actions)
        • Schleifen - Aktionen
          • Einheit - Remove (Picked unit) from the game
      • Einheitengruppe - Pick every unit in (Units owned by Spieler 4 (Lila) of type Nekropole) and do (Actions)
        • Schleifen - Aktionen
          • Einheit - Remove (Picked unit) from the game
      • Einheitengruppe - Pick every unit in (Units owned by Spieler 4 (Lila) of type Baum des Lebens) and do (Actions)
        • Schleifen - Aktionen
          • Einheit - Remove (Picked unit) from the game
      • Spielergruppe - Pick every player in (All players matching ((Matching player) Ungleich Spieler 4 (Lila))) and do (Actions)
        • Schleifen - Aktionen
          • Spieler - Make (Picked player) treat Spieler 4 (Lila) as an Neutral
          • Spieler - Make Spieler 4 (Lila) treat (Picked player) as an Neutral
      • Einheit - Change ownership of Keiler-Medizinmann 0089 <gen> to Neutral feindlich and Farbe wechseln
      • Einheit - Change ownership of Stacheleber 0086 <gen> to Neutral feindlich and Farbe wechseln
      • Einheit - Change ownership of Stacheleber 0085 <gen> to Neutral feindlich and Farbe wechseln
      • Einheit - Change ownership of Geisterschwein 0163 <gen> to Neutral feindlich and Farbe wechseln
      • Einheit - Change ownership of Geisterschwein 0155 <gen> to Neutral feindlich and Farbe wechseln
-----------------------------------------------------------------------------------------------------------
Now this trigger is extremely complex and long. It has a percentage for each race which depicts how the race will be chosen. I know that there are leaks, but i don't know how to detect them.
Also yes i made custom Ai's for my multiple race map.

Now the problem i have come to see multiple times:
-when ever i choose to play orc i get constantly the fel orcs as a race, even though i say multiple times that this is only for the Computer players.

  • Ai All
    • Ereignisse
      • Zeit - Elapsed game time is 2.00 seconds
    • Bedingungen
    • Aktionen
      • -------- Human --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • And - All (Conditions) are true
                • Bedingungen
                  • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                  • (Race of PlayerNumber[(Integer A)]) Gleich Mensch
                  • (PlayerNumber[(Integer A)] controller) Gleich Computer
            • 'THEN'-Aktionen
              • Set HumanRaceChance[1] = (Random percentage)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (Race of PlayerNumber[(Integer A)]) Gleich Mensch
                      • HumanRaceChance[1] Kleiner gleich 100.00
                      • HumanRaceChance[1] Größer gleich 76.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Arbeiter) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Arbeiter (Blood Elf) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Rathaus) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Rathaus (Blood Elf) using Alte Einheit: Rel. life and mana
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: BloodElf.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt die Blutelfen!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (Race of PlayerNumber[(Integer A)]) Gleich Mensch
                      • HumanRaceChance[1] Kleiner gleich 75.00
                      • HumanRaceChance[1] Größer gleich 51.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Arbeiter) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Dienerin (Scarlet Crusade) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Rathaus) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Zuflucht (Scarlet Crusade) using Alte Einheit: Rel. life and mana
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: ScarletCrusade.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt den Scharlachroten Kreuzzug!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (Race of PlayerNumber[(Integer A)]) Gleich Mensch
                      • HumanRaceChance[1] Kleiner gleich 50.00
                      • HumanRaceChance[1] Größer gleich 26.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Arbeiter) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Arbeiter (Worgen) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Rathaus) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Rathaus (Worgen) using Alte Einheit: Rel. life and mana
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: Worgen.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt die Worgen!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (Race of PlayerNumber[(Integer A)]) Gleich Mensch
                      • HumanRaceChance[1] Kleiner gleich 25.00
                      • HumanRaceChance[1] Größer gleich 0.00
                • 'THEN'-Aktionen
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: human.ai
                • 'ELSE'-Aktionen
                  • Do nothing
            • 'ELSE'-Aktionen
              • Do nothing
      • -------- Orc --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • And - All (Conditions) are true
                • Bedingungen
                  • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                  • (Race of PlayerNumber[(Integer A)]) Gleich Orc
                  • (PlayerNumber[(Integer A)] controller) Gleich Computer
            • 'THEN'-Aktionen
              • Set OrcRaceChance[1] = (Random percentage)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • OrcRaceChance[1] Kleiner gleich 25.00
                      • OrcRaceChance[1] Größer gleich 0.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Peon) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Teufels-Orc-Peon (Fel Orcs) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Haupthaus) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Haupthaus (Fel Orcs) using Alte Einheit: Rel. life and mana
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: FelOrc.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt die Teufels-Orcs!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • OrcRaceChance[1] Kleiner gleich 100.00
                      • OrcRaceChance[1] Größer gleich 25.01
                • 'THEN'-Aktionen
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: orc.ai
                • 'ELSE'-Aktionen
                  • Do nothing
            • 'ELSE'-Aktionen
              • Do nothing
      • -------- Untot --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • And - All (Conditions) are true
                • Bedingungen
                  • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                  • (Race of PlayerNumber[(Integer A)]) Gleich Untoter
                  • (PlayerNumber[(Integer A)] controller) Gleich Computer
            • 'THEN'-Aktionen
              • Set UndeadRaceChance[1] = (Random percentage)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • UndeadRaceChance[1] Kleiner gleich 100.00
                      • UndeadRaceChance[1] Größer gleich 51.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Akolyt) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Arbeiter (Forsaken) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Ghul) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Ghul (Forsaken) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Nekropole) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Schattenhalle (Forsaken) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Verhexte Goldmine) and do (Actions)
                    • Schleifen - Aktionen
                      • Einheit - Kill (Picked unit)
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: Forsaken.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt die Verlassenen!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • UndeadRaceChance[1] Kleiner gleich 50.00
                      • UndeadRaceChance[1] Größer gleich 0.00
                • 'THEN'-Aktionen
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: undead.ai
                • 'ELSE'-Aktionen
                  • Do nothing
            • 'ELSE'-Aktionen
              • Do nothing
      • -------- Nachtelf --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • And - All (Conditions) are true
                • Bedingungen
                  • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                  • (Race of PlayerNumber[(Integer A)]) Gleich Nachtelf
                  • (PlayerNumber[(Integer A)] controller) Gleich Computer
            • 'THEN'-Aktionen
              • Set NightElfRaceChance[1] = (Random percentage)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • NightElfRaceChance[1] Kleiner gleich 100.00
                      • NightElfRaceChance[1] Größer gleich 51.00
                • 'THEN'-Aktionen
                  • Einheitengruppe - Pick every unit in (Units of type Irrwisch) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Naga-Hexer (Naga) using Alte Einheit: Rel. life and mana
                  • Einheitengruppe - Pick every unit in (Units of type Baum des Lebens) and do (Actions)
                    • Schleifen - Aktionen
                      • Spezialeffekt - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
                      • Spezialeffekt - Destroy (Last created special effect)
                      • Einheit - Replace (Picked unit) with a Tempel des Wassers (Naga) using Alte Einheit: Rel. life and mana
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: Naga.ai
                  • Spiel - Display to (All players) the text: ((Name of PlayerNumber[(Integer A)]) + spielt jetzt die Naga!)
                • 'ELSE'-Aktionen
                  • Do nothing
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • And - All (Conditions) are true
                    • Bedingungen
                      • (PlayerNumber[(Integer A)] controller) Ungleich Benutzer
                      • (PlayerNumber[(Integer A)] controller) Gleich Computer
                      • NightElfRaceChance[1] Kleiner gleich 50.00
                      • NightElfRaceChance[1] Größer gleich 0.00
                • 'THEN'-Aktionen
                  • KI - Start melee AI script for PlayerNumber[(Integer A)]: elf.ai
                • 'ELSE'-Aktionen
                  • Do nothing
            • 'ELSE'-Aktionen
              • Do nothing
-----------------------------------------------------------------------------------------------------------
Now these triggers are handling each race.
For example: A human player now has a choice
Human
Scarlet Crusade
Draenei
Highelf/Bloodelf (Not really sure if this is in later versions)
Worgen

There are also additional triggers that are handling each choice made, but i only post them if you really need them.
Human
  • The Choose Human in general
    • Ereignisse
      • Zeit - Elapsed game time is 1.00 seconds
    • Bedingungen
      • Or - Any (Conditions) are true
        • Bedingungen
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 1 (Rot) controller) Gleich Benutzer
              • (Race of Spieler 1 (Rot)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 2 (Blau) controller) Gleich Benutzer
              • (Race of Spieler 2 (Blau)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 3 (Blaugrau) controller) Gleich Benutzer
              • (Race of Spieler 3 (Blaugrau)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 4 (Lila) controller) Gleich Benutzer
              • (Race of Spieler 4 (Lila)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 5 (Gelb) controller) Gleich Benutzer
              • (Race of Spieler 5 (Gelb)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 6 (Orange) controller) Gleich Benutzer
              • (Race of Spieler 6 (Orange)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 7 (Grün) controller) Gleich Benutzer
              • (Race of Spieler 7 (Grün)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 8 (Rosa) controller) Gleich Benutzer
              • (Race of Spieler 8 (Rosa)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 9 (Grau) controller) Gleich Benutzer
              • (Race of Spieler 9 (Grau)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 10 (Hellblau) controller) Gleich Benutzer
              • (Race of Spieler 10 (Hellblau)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 11 (Dunkelgrün) controller) Gleich Benutzer
              • (Race of Spieler 11 (Dunkelgrün)) Gleich Mensch
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 12 (Braun) controller) Gleich Benutzer
              • (Race of Spieler 12 (Braun)) Gleich Mensch
    • Aktionen
      • Dialog - Change the title of HumanChoose[1] to Wähle deine Rasse
      • Dialog - Create a dialog button for HumanChoose[1] labelled Mensch (Normal)
      • Set HumanIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for HumanChoose[1] labelled Scharlachroter Kreu...
      • Set ScarletCrusadeIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for HumanChoose[1] labelled Draenei
      • Set DraeneiIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for HumanChoose[1] labelled Blutelf
      • Set BloodElfIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for HumanChoose[1] labelled Worgen
      • Set WorgenIsChosen = (Last created dialog Button)
      • Spielergruppe - Pick every player in (All players matching ((((Matching player) controller) Gleich Benutzer) and ((Race of (Matching player)) Gleich Mensch))) and do (Actions)
        • Schleifen - Aktionen
          • Dialog - Zeigen HumanChoose[1] for (Picked player)
Orc
  • The Choose Orc in general
    • Ereignisse
      • Zeit - Elapsed game time is 1.00 seconds
    • Bedingungen
      • Or - Any (Conditions) are true
        • Bedingungen
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 1 (Rot) controller) Gleich Benutzer
              • (Race of Spieler 1 (Rot)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 2 (Blau) controller) Gleich Benutzer
              • (Race of Spieler 2 (Blau)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 3 (Blaugrau) controller) Gleich Benutzer
              • (Race of Spieler 3 (Blaugrau)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 4 (Lila) controller) Gleich Benutzer
              • (Race of Spieler 4 (Lila)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 5 (Gelb) controller) Gleich Benutzer
              • (Race of Spieler 5 (Gelb)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 6 (Orange) controller) Gleich Benutzer
              • (Race of Spieler 6 (Orange)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 7 (Grün) controller) Gleich Benutzer
              • (Race of Spieler 7 (Grün)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 8 (Rosa) controller) Gleich Benutzer
              • (Race of Spieler 8 (Rosa)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 9 (Grau) controller) Gleich Benutzer
              • (Race of Spieler 9 (Grau)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 10 (Hellblau) controller) Gleich Benutzer
              • (Race of Spieler 10 (Hellblau)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 11 (Dunkelgrün) controller) Gleich Benutzer
              • (Race of Spieler 11 (Dunkelgrün)) Gleich Orc
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 12 (Braun) controller) Gleich Benutzer
              • (Race of Spieler 12 (Braun)) Gleich Orc
    • Aktionen
      • Dialog - Change the title of OrcChoose[1] to Wähle deine Rasse
      • Dialog - Create a dialog button for OrcChoose[1] labelled Orc (Normal)
      • Set OrcIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for OrcChoose[1] labelled Gnoll
      • Set GnollIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for OrcChoose[1] labelled Teufels-Orc
      • Set FelOrcIsChosen = (Last created dialog Button)
      • Spielergruppe - Pick every player in (All players matching ((((Matching player) controller) Gleich Benutzer) and ((Race of (Matching player)) Gleich Orc))) and do (Actions)
        • Schleifen - Aktionen
          • Dialog - Zeigen OrcChoose[1] for (Picked player)
Undead
  • The Choose Undead in general
    • Ereignisse
      • Zeit - Elapsed game time is 1.00 seconds
    • Bedingungen
      • Or - Any (Conditions) are true
        • Bedingungen
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 1 (Rot) controller) Gleich Benutzer
              • (Race of Spieler 1 (Rot)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 2 (Blau) controller) Gleich Benutzer
              • (Race of Spieler 2 (Blau)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 3 (Blaugrau) controller) Gleich Benutzer
              • (Race of Spieler 3 (Blaugrau)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 4 (Lila) controller) Gleich Benutzer
              • (Race of Spieler 4 (Lila)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 5 (Gelb) controller) Gleich Benutzer
              • (Race of Spieler 5 (Gelb)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 6 (Orange) controller) Gleich Benutzer
              • (Race of Spieler 6 (Orange)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 7 (Grün) controller) Gleich Benutzer
              • (Race of Spieler 7 (Grün)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 8 (Rosa) controller) Gleich Benutzer
              • (Race of Spieler 8 (Rosa)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 9 (Grau) controller) Gleich Benutzer
              • (Race of Spieler 9 (Grau)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 10 (Hellblau) controller) Gleich Benutzer
              • (Race of Spieler 10 (Hellblau)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 11 (Dunkelgrün) controller) Gleich Benutzer
              • (Race of Spieler 11 (Dunkelgrün)) Gleich Untoter
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 12 (Braun) controller) Gleich Benutzer
              • (Race of Spieler 12 (Braun)) Gleich Untoter
    • Aktionen
      • Dialog - Change the title of UndeadChoose[1] to Wähle deine Rasse
      • Dialog - Create a dialog button for UndeadChoose[1] labelled Untot (Normal)
      • Set UndeadIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for UndeadChoose[1] labelled Verlassene
      • Set ForsakenIsChosen = (Last created dialog Button)
      • Spielergruppe - Pick every player in (All players matching ((((Matching player) controller) Gleich Benutzer) and ((Race of (Matching player)) Gleich Untoter))) and do (Actions)
        • Schleifen - Aktionen
          • Dialog - Zeigen UndeadChoose[1] for (Picked player)
Nightelves
  • The Choose Night elf in general
    • Ereignisse
      • Zeit - Elapsed game time is 1.00 seconds
    • Bedingungen
      • Or - Any (Conditions) are true
        • Bedingungen
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 1 (Rot) controller) Gleich Benutzer
              • (Race of Spieler 1 (Rot)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 2 (Blau) controller) Gleich Benutzer
              • (Race of Spieler 2 (Blau)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 3 (Blaugrau) controller) Gleich Benutzer
              • (Race of Spieler 3 (Blaugrau)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 4 (Lila) controller) Gleich Benutzer
              • (Race of Spieler 4 (Lila)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 5 (Gelb) controller) Gleich Benutzer
              • (Race of Spieler 5 (Gelb)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 6 (Orange) controller) Gleich Benutzer
              • (Race of Spieler 6 (Orange)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 7 (Grün) controller) Gleich Benutzer
              • (Race of Spieler 7 (Grün)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 8 (Rosa) controller) Gleich Benutzer
              • (Race of Spieler 8 (Rosa)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 9 (Grau) controller) Gleich Benutzer
              • (Race of Spieler 9 (Grau)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 10 (Hellblau) controller) Gleich Benutzer
              • (Race of Spieler 10 (Hellblau)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 11 (Dunkelgrün) controller) Gleich Benutzer
              • (Race of Spieler 11 (Dunkelgrün)) Gleich Nachtelf
          • And - All (Conditions) are true
            • Bedingungen
              • (Spieler 12 (Braun) controller) Gleich Benutzer
              • (Race of Spieler 12 (Braun)) Gleich Nachtelf
    • Aktionen
      • Dialog - Change the title of NightElfChoose[1] to Wähle deine Rasse
      • Dialog - Create a dialog button for NightElfChoose[1] labelled Nachtelfen (Normal)
      • Set NightElfIsChosen = (Last created dialog Button)
      • Dialog - Create a dialog button for NightElfChoose[1] labelled Verderte Nachtelfen
      • Set CNightElfIsChosen = (Last created dialog Button)
      • Spielergruppe - Pick every player in (All players matching ((((Matching player) controller) Gleich Benutzer) and ((Race of (Matching player)) Gleich Nachtelf))) and do (Actions)
        • Schleifen - Aktionen
          • Dialog - Zeigen NightElfChoose[1] for (Picked player)
-----------------------------------------------------------------------------------------------------------
I hope you can help me. :)
 
Status
Not open for further replies.
Top