1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. 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

Epic-Maul_1_7.w3x
Variables
Initialisierung
set wood to total gold
start information
Variablen
Kamera
Nahkampf-Initialisierung
number of players
Check Playernumber
Spawn
show prepare message
set level unit
Spawn normal
Spawn fortlaufend
spawnmethode
Bewegung
Bewegung 1
Bewegung 2
Bewegung 3
Bewegung 4
Bewegung 5
Bewegung 6
Bewegung 7
Bewegung 8
Bewegung 9
Bewegung 10
Bewegung 11
Bewegung 12
Bewegung 13
Bewegung 14
teleportieren5
teleportieren6
teleportieren4
teleportieren3
teleportieren1
teleportieren2
Leben
timer am anfang
starte richtigen timer
timer level finsihed
timer continous
startecontinous timer
handierhoehung
einheitstirbt
win
lose
lose cinematic 1
lose cinematic 2
bestenliste
tschau
zumziel
spielende
Money
moneynachlevel
turmstirbt
beute erhht
moneyystart
Sell
add sell
sell all
sell all Kopieren
sell all Kopieren 2
sell all Kopieren 3
sell all Kopieren 4
sell all Kopieren 5
sell all Kopieren 6
sell all Kopieren 7
sell all Kopieren 8
Sell
sell endgueltig
Schwierigkeit
Dialog
sehr leicht
leicht
normal
schwer
sehr schwer
extreme
nachtraegliche aenderung
Quest
Quest
ruestung
Kick
commands
special Waves
Spieler verlaesst
Spieler 1
Spieler 2
Spieler 3
Spieler 4
Spieler 5
Spieler 6
Spieler 7
Spieler 8
Spieler 9
Blockaden
Unbezeichneter Auslöser 002
Unbezeichneter Auslöser 002 Kopieren
kick
K2
K2 Kopieren
K2 Kopieren 2
K2 Kopieren 3
K2 Kopieren 4
K2 Kopieren 5
K2 Kopieren 6
K2 Kopieren 7
convert
convert Kopieren Kopieren
convert Kopieren Kopieren 2
convert
convert Kopieren
convert Kopieren Kopieren 3
convert Kopieren Kopieren 4
convert Kopieren Kopieren 4 Kopieren
convert Kopieren Kopieren 4 Kopieren 2
convert Kopieren Kopieren 4 Kopieren 3
sonstiges
Info
aufspalten
show range
show range methode
auto teleport
pause
weiter
arbeiter da
arbeiter
beweg deinen Arsch
spezialwellen
Gottesschild
Windlauf
mode
aktualisiere Dialog
fast Game Dialog
normal Game Dialog
slow Game Dialog
fertig
gamespeed manuell
Spawn DIalog
Stare Spawn Dia
akt spawn dialog
contionous
immernach Level
weiter zu special
give x y
pl1
pl2
pl3
pl4
pl5
pl6
pl7
pl8
pl9
multiplayer
Handicap aenderung

		
Name Type Is Array Initial Value
alpha real No
anzahl integer No
arbeiter unitcode No
castingeinheit unit No
continousSpawn boolean No
Dialog dialog No
Dialog_spezial dialog No
dif integer No 1
Einheit unitcode No h00V
entfernung real No
extreme button No
fastgame button No
fertig button No
fortlaufenderSpawn button No
gebenderSpieler player No
geldmenge integer No
goldzurueck integer No
handi real No
Handiaenderung real No
holz integer No
Leben real No 40.00
leicht button No
Level integer No 1
linksrechts boolean No
maxleben integer No
money_leaver integer No
moneynachlevel real No
n integer No
normal button No
normalgameplay button No
nowin boolean No
playernumber integer No
present integer No
schnellbau button No
schnellbauen boolean No true
schulden integer Yes
schwer button No
sehr_leicht button No
sehr_schwer button No
selectedPlayer player No
sellfaktor real No
slowGame button No
SpawnDiaFertig button No
spawndialog dialog No
spawnnachLevel button No
SpawnPoint location No
spawnspieler player No
spawnzahl integer No 20
startgeld integer No 50
startzeit real No
TempPoint location No
text texttag No
Timer timer No
timerist0 boolean No
timerstopped boolean No
winkel real No
wirdzuruekgezahlt integer No
xentf real No
yentf real No
zaehler integer No
zeit_zw_level real No 6.00
set wood to total gold
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Set VariableSet holz = 0
    If ((Player 1 (Red) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 1 (Red) Current gold))) else do (Do nothing)
    If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 2 (Blue) Current gold))) else do (Do nothing)
    If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 3 (Teal) Current gold))) else do (Do nothing)
    If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 4 (Purple) Current gold))) else do (Do nothing)
    If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 5 (Yellow) Current gold))) else do (Do nothing)
    If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 6 (Orange) Current gold))) else do (Do nothing)
    If ((Player 7 (Green) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 7 (Green) Current gold))) else do (Do nothing)
    If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 8 (Pink) Current gold))) else do (Do nothing)
    If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Set VariableSet holz = (holz + (Player 9 (Gray) Current gold))) else do (Do nothing)
    Player - Set Player 1 (Red).Current lumber to holz
    Player - Set Player 2 (Blue).Current lumber to holz
    Player - Set Player 3 (Teal).Current lumber to holz
    Player - Set Player 4 (Purple).Current lumber to holz
    Player - Set Player 5 (Yellow).Current lumber to holz
    Player - Set Player 6 (Orange).Current lumber to holz
    Player - Set Player 7 (Green).Current lumber to holz
    Player - Set Player 8 (Pink).Current lumber to holz
    Player - Set Player 9 (Gray).Current lumber to holz
start information
  Events
    Time - Elapsed game time is 45.00 seconds
  Conditions
  Actions
    Game - Display to (All players) the text: |cff0000FFYou can use the following commands:|cff1BE6B8Player 1 & 2:|cff0000FF-kick x [to kick a player (x - playernumber)]-stop [to stop the timer]-start [to start the timer]-speed x [set Time between levels to x seconds]|cff1BE6B8all Players:|cff0000FF-convert [to convert all towers in your region to your owenership]-sell [to sell all your towers]-give x y [gives Player x y gold]|cff1BE6B8For more information press F9
Variablen
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Set VariableSet startzeit = 30.00
    Set VariableSet Level = 1
    Set VariableSet spawnzahl = 20
    Set VariableSet zeit_zw_level = 10.00
Kamera
  Events
    Time - Elapsed game time is 0.00 seconds
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Camera - Set (Picked player)'s camera Distance to target to 2000.00 over 1.50 seconds
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
  Events
    Map initialization
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Playable map area)
        Player - Set (Picked player).Food cap to 1
        Player - Disable Drehen for (Picked player)
Check Playernumber
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Set VariableSet playernumber = 0
    If ((Player 1 (Red) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 7 (Green) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
    If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Set VariableSet playernumber = (playernumber + 1)) else do (Do nothing)
show prepare message
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Game - Display to (All players) the text: Prepare for the final Level!
set level unit
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    If (Level Equal to 0) then do (Set VariableSet Einheit = Scarab 1) else do (Do nothing)
    If (Level Equal to 1) then do (Set VariableSet Einheit = Scarab 1) else do (Do nothing)
    If (Level Equal to 2) then do (Set VariableSet Einheit = Snap Dragon 2) else do (Do nothing)
    If (Level Equal to 3) then do (Set VariableSet Einheit = Albatross 3) else do (Do nothing)
    If (Level Equal to 4) then do (Set VariableSet Einheit = Spider 4) else do (Do nothing)
    If (Level Equal to 5) then do (Set VariableSet Einheit = Sludge Monster 5) else do (Do nothing)
    If (Level Equal to 6) then do (Set VariableSet Einheit = Owl 6) else do (Do nothing)
    If (Level Equal to 7) then do (Set VariableSet Einheit = Pig 7) else do (Do nothing)
    If (Level Equal to 8) then do (Set VariableSet Einheit = Bristleback 8) else do (Do nothing)
    If (Level Equal to 9) then do (Set VariableSet Einheit = Quill Beast 9) else do (Do nothing)
    If (Level Equal to 10) then do (Set VariableSet Einheit = Archnathid 10) else do (Do nothing)
    If (Level Equal to 11) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 11) then do (Set VariableSet Einheit = Adult Wolf 11) else do (Do nothing)
    If (Level Equal to 12) then do (Set VariableSet spawnzahl = 20) else do (Do nothing)
    If (Level Equal to 12) then do (Set VariableSet Einheit = Revenant 12) else do (Do nothing)
    If (Level Equal to 13) then do (Set VariableSet Einheit = Ogre 13) else do (Do nothing)
    If (Level Equal to 14) then do (Set VariableSet Einheit = Satyr 14) else do (Do nothing)
    If (Level Equal to 15) then do (Set VariableSet Einheit = Ogre Magican 15) else do (Do nothing)
    If (Level Equal to 16) then do (Set VariableSet Einheit = Mammoth 16) else do (Do nothing)
    If (Level Equal to 17) then do (Set VariableSet Einheit = Tuskar 17) else do (Do nothing)
    If (Level Equal to 18) then do (Set VariableSet Einheit = Troll 18) else do (Do nothing)
    If (Level Equal to 19) then do (Set VariableSet Einheit = Water Elemental 19) else do (Do nothing)
    If (Level Equal to 20) then do (Set VariableSet Einheit = Wendigo 20) else do (Do nothing)
    If (Level Equal to 21) then do (Set VariableSet Einheit = Jungle Beast 21) else do (Do nothing)
    If (Level Equal to 22) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 22) then do (Set VariableSet Einheit = Wildeking 22) else do (Do nothing)
    If (Level Equal to 23) then do (Set VariableSet spawnzahl = 20) else do (Do nothing)
    If (Level Equal to 23) then do (Set VariableSet Einheit = Bandit 23) else do (Do nothing)
    If (Level Equal to 24) then do (Set VariableSet Einheit = Bandit Lord 24) else do (Do nothing)
    If (Level Equal to 25) then do (Set VariableSet Einheit = Skeleton Archer 25) else do (Do nothing)
    If (Level Equal to 26) then do (Set VariableSet Einheit = Skeleton Warrior 26) else do (Do nothing)
    If (Level Equal to 27) then do (Set VariableSet Einheit = Skeleton Mage 27) else do (Do nothing)
    If (Level Equal to 28) then do (Set VariableSet Einheit = Living Dead 28) else do (Do nothing)
    If (Level Equal to 29) then do (Set VariableSet Einheit = Shade 29) else do (Do nothing)
    If (Level Equal to 30) then do (Set VariableSet Einheit = Crypt Fiend 30) else do (Do nothing)
    If (Level Equal to 31) then do (Set VariableSet Einheit = Banshee 31) else do (Do nothing)
    If (Level Equal to 32) then do (Set VariableSet Einheit = Necromancer 32) else do (Do nothing)
    If (Level Equal to 33) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 33) then do (Set VariableSet Einheit = Abomination 33) else do (Do nothing)
    If (Level Equal to 34) then do (Set VariableSet spawnzahl = 20) else do (Do nothing)
    If (Level Equal to 34) then do (Set VariableSet Einheit = Felgaurd 34) else do (Do nothing)
    If (Level Equal to 35) then do (Set VariableSet Einheit = Spirit of Vengeance 35) else do (Do nothing)
    If (Level Equal to 36) then do (Set VariableSet Einheit = Zombie 36) else do (Do nothing)
    If (Level Equal to 37) then do (Set VariableSet Einheit = Dranai 37) else do (Do nothing)
    If (Level Equal to 38) then do (Set VariableSet Einheit = Eredar Warlock 38) else do (Do nothing)
    If (Level Equal to 39) then do (Set VariableSet Einheit = Dark Magician 39) else do (Do nothing)
    If (Level Equal to 40) then do (Set VariableSet Einheit = Gryphon Rider 40) else do (Do nothing)
    If (Level Equal to 41) then do (Set VariableSet Einheit = Ghoul 41) else do (Do nothing)
    If (Level Equal to 42) then do (Set VariableSet Einheit = Infernal 42) else do (Do nothing)
    If (Level Equal to 43) then do (Set VariableSet Einheit = Demoness 43) else do (Do nothing)
    If (Level Equal to 44) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 44) then do (Set VariableSet Einheit = Doom Guard 44) else do (Do nothing)
    If (Level Equal to 45) then do (Set VariableSet spawnzahl = 20) else do (Do nothing)
    If (Level Equal to 45) then do (Set VariableSet Einheit = Lieutenant 45) else do (Do nothing)
    If (Level Equal to 46) then do (Set VariableSet Einheit = Archer 46) else do (Do nothing)
    If (Level Equal to 47) then do (Set VariableSet Einheit = Gyrocopter 47) else do (Do nothing)
    If (Level Equal to 48) then do (Set VariableSet Einheit = Gnoll 48) else do (Do nothing)
    If (Level Equal to 49) then do (Set VariableSet Einheit = Goblin Shredder 49) else do (Do nothing)
    If (Level Equal to 50) then do (Set VariableSet Einheit = Huntress 50) else do (Do nothing)
    If (Level Equal to 51) then do (Set VariableSet Einheit = Marine 51) else do (Do nothing)
    If (Level Equal to 52) then do (Set VariableSet Einheit = Chaos Warlock 52) else do (Do nothing)
    If (Level Equal to 53) then do (Set VariableSet Einheit = Wolf Rider 53) else do (Do nothing)
    If (Level Equal to 54) then do (Set VariableSet Einheit = Spell Thief 54) else do (Do nothing)
    If (Level Equal to 55) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 55) then do (Set VariableSet Einheit = Lord Garithos 55) else do (Do nothing)
    If (Level Equal to 56) then do (Set VariableSet spawnzahl = 20) else do (Do nothing)
    If (Level Equal to 56) then do (Set VariableSet Einheit = Arch Mage 56) else do (Do nothing)
    If (Level Equal to 57) then do (Set VariableSet Einheit = Illidan 57) else do (Do nothing)
    If (Level Equal to 58) then do (Set VariableSet Einheit = Jaina 58) else do (Do nothing)
    If (Level Equal to 59) then do (Set VariableSet Einheit = Furion 59) else do (Do nothing)
    If (Level Equal to 60) then do (Set VariableSet Einheit = Grom Hellscream 60) else do (Do nothing)
    If (Level Equal to 61) then do (Set VariableSet Einheit = Pit Lord 61) else do (Do nothing)
    If (Level Equal to 62) then do (Set VariableSet Einheit = Uther 62) else do (Do nothing)
    If (Level Equal to 63) then do (Set VariableSet Einheit = Tauren Chieftain 63) else do (Do nothing)
    If (Level Equal to 64) then do (Set VariableSet Einheit = Flame Lord 64) else do (Do nothing)
    If (Level Equal to 65) then do (Turn on show_prepare_message <gen>) else do (Do nothing)
    If (Level Equal to 65) then do (Set VariableSet Einheit = Thrall 65) else do (Do nothing)
    If (Level Equal to 66) then do (Set VariableSet spawnzahl = 1) else do (Do nothing)
    If (Level Equal to 66) then do (Set VariableSet Einheit = Arthas 66) else do (Do nothing)
Spawn normal
  Events
    Time - Timer expires
  Conditions
  Actions
    Set VariableSet timerist0 = True
    -------- ------------------- --------
    Set VariableSet spawnspieler = Player 1 (Red)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn1 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 2 (Blue)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn2 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 3 (Teal)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_4 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 4 (Purple)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn3 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 5 (Yellow)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn6 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 6 (Orange)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn5 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 7 (Green)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_9 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 8 (Pink)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_7 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 9 (Gray)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_8 <gen>)
        Set VariableSet zaehler = 0
        Unit - Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Trigger - Run spawnmethode <gen> (checking conditions)
        Wait 3.00 seconds
      Else - Actions
    -------- ------------------- --------
    Wait 1.00 seconds
    Set VariableSet Level = (Level + 1)
    Wait 0.50 seconds
    Countdown Timer - Change the title of (Last created timer window) to (Level + ((String(Level)) + in))
Spawn fortlaufend
  Events
    Time - Timer expires
  Conditions
  Actions
    Set VariableSet spawnspieler = Player 1 (Red)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn1 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 2 (Blue)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn2 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 3 (Teal)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_4 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 4 (Purple)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn3 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 5 (Yellow)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn6 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 6 (Orange)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn5 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 7 (Green)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_9 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 8 (Pink)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_7 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    Set VariableSet spawnspieler = Player 9 (Gray)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (spawnspieler slot status) Equal to Is playing
      Then - Actions
        Custom script: call RemoveLocation(udg_SpawnPoint)
        Set VariableSet SpawnPoint = (Center of Spawn_8 <gen>)
        Unit - Create spawnzahl.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
        Wait 0.50 seconds
      Else - Actions
    -------- ------------------- --------
    Wait 1.00 seconds
    Set VariableSet Level = (Level + 1)
spawnmethode
  Events
  Conditions
    zaehler Less than ((spawnzahl / 2) - 1)
  Actions
    Unit - Create 2.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees
    If (zaehler Equal to 8) then do (Create 1.Einheit for Player 12 (Brown) at SpawnPoint facing Default building facing degrees) else do (Do nothing)
    Set VariableSet zaehler = (zaehler + 1)
    Wait 0.20 seconds
    Trigger - Run (This trigger) (checking conditions)
Bewegung 1
  Events
    Unit - A unit enters Spawn_7 <gen>
    Unit - A unit leaves Spawn_7 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of Gebiet_011 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 2
  Events
    Unit - A unit enters Spawn_8 <gen>
    Unit - A unit leaves Spawn_8 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of Gebiet_009 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 3
  Events
    Unit - A unit enters Gebiet_009 <gen>
    Unit - A unit leaves Gebiet_009 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    If (linksrechts Equal to True) then do (Set VariableSet TempPoint = (Center of teleportvonhier6 <gen>)) else do (Set VariableSet TempPoint = (Center of teleportvonhier5 <gen>))
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
    If (linksrechts Equal to True) then do (Set VariableSet linksrechts = False) else do (Set VariableSet linksrechts = True)
Bewegung 4
  Events
    Unit - A unit enters Spawn_9 <gen>
    Unit - A unit leaves Spawn_9 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of Gebiet_011_Kopieren <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 5
  Events
    Unit - A unit enters Gebiet_011 <gen>
    Unit - A unit leaves Gebiet_011 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier5 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 6
  Events
    Unit - A unit enters Gebiet_011_Kopieren <gen>
    Unit - A unit leaves Gebiet_011_Kopieren <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier6 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 7
  Events
    Unit - A unit enters Spawn5 <gen>
    Unit - A unit leaves Spawn5 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier3 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 8
  Events
    Unit - A unit enters Spawn6 <gen>
    Unit - A unit leaves Spawn6 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier4 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 9
  Events
    Unit - A unit enters Spawn3 <gen>
    Unit - A unit leaves Spawn3 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier2 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 10
  Events
    Unit - A unit enters Spawn_4 <gen>
    Unit - A unit leaves Spawn_4 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of teleportvonhier1 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 11
  Events
    Unit - A unit enters Spawn2 <gen>
    Unit - A unit leaves Spawn2 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of Gebiet_017_Kopieren_2 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 12
  Events
    Unit - A unit enters Spawn1 <gen>
    Unit - A unit leaves Spawn1 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of Gebiet_017_Kopieren_3 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 13
  Events
    Unit - A unit enters Gebiet_017_Kopieren_2 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of ziel_rechts <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
Bewegung 14
  Events
    Unit - A unit enters Gebiet_017_Kopieren_3 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet TempPoint = (Center of ziel_links <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren5
  Events
    Unit - A unit enters teleportvonhier5 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier5 <gen>)
    Set VariableSet TempPoint = (Center of Spawn6 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren6
  Events
    Unit - A unit enters teleportvonhier6 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier6 <gen>)
    Set VariableSet TempPoint = (Center of Spawn5 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren4
  Events
    Unit - A unit enters teleportvonhier4 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier4 <gen>)
    Set VariableSet TempPoint = (Center of teleportvonhier2 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren3
  Events
    Unit - A unit enters teleportvonhier3 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier3 <gen>)
    Set VariableSet TempPoint = (Center of teleportvonhier1 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren1
  Events
    Unit - A unit enters teleportvonhier1 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier1 <gen>)
    Set VariableSet TempPoint = (Center of Spawn1 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
teleportieren2
  Events
    Unit - A unit enters teleportvonhier2 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Move (Entering unit) instantly to (Center of teleportnachhier2 <gen>)
    Set VariableSet TempPoint = (Center of Spawn2 <gen>)
    Unit - Set Rally-Point for (Entering unit) to TempPoint
    Unit - Order (Entering unit) to Move To.TempPoint
    Custom script: call RemoveLocation (udg_TempPoint)
timer am anfang
  Events
    Time - Elapsed game time is 0.50 seconds
  Conditions
  Actions
    Countdown Timer - Start Timer as a One-shot timer that will expire in startzeit seconds
    Countdown Timer - Create a timer window for (Last started timer) with title (Level + ((String(Level)) + in))
starte richtigen timer
  Events
    Time - Timer expires
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to True
      Then - Actions
        Trigger - Turn on timer_continous <gen>
        Trigger - Run timer_continous <gen> (checking conditions)
      Else - Actions
        Wait 5.00 seconds
        Trigger - Turn on timer_level_finsihed <gen>
timer level finsihed
  Events
    Time - Every 1.00 seconds of game time
  Conditions
    timerist0 Equal to True
    (Player 12 (Brown) Food used) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Countdown Timer - Start Timer as a One-shot timer that will expire in zeit_zw_level seconds
    Countdown Timer - Change the title of (Last created timer window) to (Level + ((String(Level)) + in:))
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Set VariableSet timerist0 = False
    Countdown Timer - Pause (Last started timer)
    Countdown Timer - Resume (Last started timer)
    If (timerstopped Equal to True) then do (Pause (Last started timer)) else do (Do nothing)
    Wait 0.20 seconds
    Set VariableSet present = (60 + (Integer((moneynachlevel x (Real(Level))))))
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Add present to (Picked player).Current gold
    Game - Display to (All players) the text: (You got + ((String(present)) + gold as present!))
    Wait 0.05 seconds
    Set VariableSet present = (60 + (Integer(((moneynachlevel + 0.37) x ((Real(Level)) + 1)))))
    Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to present
    Wait 5.00 seconds
    Trigger - Turn on (This trigger)
timer continous
  Events
  Conditions
  Actions
    Countdown Timer - Change the title of (Last created timer window) to (Level + ((String((Level + 1))) + in:))
    Countdown Timer - Start Timer as a One-shot timer that will expire in zeit_zw_level seconds
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Set VariableSet timerist0 = False
    Wait 0.20 seconds
    Trigger - Turn on startecontinous_timer <gen>
startecontinous timer
  Events
    Time - Timer expires
  Conditions
  Actions
    Wait 0.10 seconds
    Trigger - Run timer_continous <gen> (checking conditions)
    Set VariableSet present = (60 + (Integer((moneynachlevel x (Real(Level))))))
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Add present to (Picked player).Current gold
    Game - Display to (All players) the text: (You got + ((String(present)) + gold as present!))
    Wait 0.05 seconds
    Set VariableSet present = (60 + (Integer(((moneynachlevel + 0.37) x ((Real(Level)) + 1)))))
    Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to present
handierhoehung
  Events
    Time - Timer expires
  Conditions
  Actions
    Set VariableSet handi = (handi + Handiaenderung)
    Player - Set Player 12 (Brown) handicap to handi%
    Trigger - Run Handicap_aenderung <gen> (checking conditions)
einheitstirbt
  Events
    Unit - A unit Dies
  Conditions
  Actions
    Wait 2 seconds
    Unit - Remove (Dying unit) from the game
win
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Number of living Arthas 66 units owned by Player 12 (Brown)) Equal to 0
    nowin Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Game - Display to (All players) the text: You have won!Congratulations!
    Trigger - Run spielende <gen> (ignoring conditions)
    Wait 5.00 seconds
    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 - 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 - Victory Player 7 (Green) (Show dialogs, Show scores)
    Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
    Game - Victory Player 9 (Gray) (Show dialogs, Show scores)
lose
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    (Integer(Leben)) Less than or equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run spielende <gen> (ignoring conditions)
    Set VariableSet nowin = True
    Game - Display to (All players) the text: You lose, the game will end in 10 seconds!
    Cinematic - Turn cinematic mode On for (All players)
    Unit - Create 1 Tinker for Player 12 (Brown) at (Center of Gebiet_016 <gen>) facing (Center of eigentlicheZiel <gen>)
    Camera - .Apply. gg_cam_Camera_002 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 2 (Blue) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 3 (Teal) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 5 (Yellow) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 7 (Green) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 8 (Pink) over 0 seconds
    Camera - .Apply. gg_cam_Camera_002 for Player 9 (Gray) over 0 seconds
    Cinematic - Send transmission to (All players) from a Player 12 (Brown).The secret Weapon named at (Center of (Playable map area)): Play No sound and display You have lost! The game will end in 8 seconds.. Modify duration: Add 0 seconds and Wait
    Unit - Order (Last created unit) to Move To.(Center of Gebiet_017 <gen>)
    Camera - .Apply. gg_cam_Camera_003 for Player 1 (Red) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 2 (Blue) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 3 (Teal) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 4 (Purple) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 5 (Yellow) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 6 (Orange) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 7 (Green) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 8 (Pink) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_003 for Player 9 (Gray) over 5.00 seconds
    Wait 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 1 (Red) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 2 (Blue) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 3 (Teal) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 4 (Purple) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 5 (Yellow) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 6 (Orange) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 7 (Green) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 8 (Pink) over 5.00 seconds
    Camera - .Apply. gg_cam_Camera_004 for Player 9 (Gray) over 5.00 seconds
    Wait 3.00 seconds
    Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
      Loop - Actions
        Game - Defeat (Picked player) with the message: Niederlage!
lose cinematic 1
  Events
    Unit - A unit enters Gebiet_017 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Order (Entering unit) to Move To.(Center of Gebiet_018 <gen>)
lose cinematic 2
  Events
    Unit - A unit enters Gebiet_018 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Make (Last created unit) face The secret Weapon 0010 <gen> over 1.00 seconds
    Wait 2 seconds
    Animation - Play The secret Weapon 0010 <gen>'s attack (animationname) animation
    Unit - Set The secret Weapon 0010 <gen> acquisition range to 15000.00
bestenliste
  Events
  Conditions
  Actions
    Leaderboard - Create a leaderboard for (All players) titled Lifes & Booty
    Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Lives left: and value (Integer(Leben))
    Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label You will get: and value present
tschau
  Events
    Unit - A unit enters eigentlicheZiel <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Set VariableSet Leben = (Leben - 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Entering unit)) Equal to Adult Wolf 11
            (Unit-type of (Entering unit)) Equal to Wildeking 22
            (Unit-type of (Entering unit)) Equal to Abomination 33
            (Unit-type of (Entering unit)) Equal to Doom Guard 44
            (Unit-type of (Entering unit)) Equal to Lord Garithos 55
            (Unit-type of (Entering unit)) Equal to Arthas 66
      Then - Actions
        Set VariableSet Leben = (Leben - 1.00)
        Set VariableSet Leben = (Leben - (Real((Integer((8.00 x ((Percentage life of (Entering unit)) / 100.00)))))))
      Else - Actions
    Special Effect - Create a special effect at (Position of (Entering unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Remove (Entering unit) from the game
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Game - Display to (All players) the text: (|cFFCC0000A Unit reached the end. It remain + ((String((Integer(Leben)))) + |cFFCC0000Lives|r))
    Destructible - Set life of Dungeon Gate 0002 <gen> to ((Leben / (Real(maxleben))) x 100.00)%
    Sound - Play BuildingDeathSmallHuman <gen>
    Sound - Destroy (Last played sound)
zumziel
  Events
    Unit - A unit enters Ziel <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 12 (Brown)
  Actions
    Unit - Make (Entering unit) Invulnerable
    Set VariableSet TempPoint = (Center of eigentlicheZiel <gen>)
    Special Effect - Create a special effect attached to the hand left (attachpoint) of (Entering unit) using Abilities\Weapons\Mortar\MortarMissile.mdl
    Unit - Order (Entering unit) to Move To.TempPoint
    Unit - Add Sprint to (Entering unit)
    Custom script: call RemoveLocation (udg_TempPoint)
spielende
  Events
  Conditions
  Actions
    Countdown Timer - Destroy (Last created timer window)
    Trigger - Turn off Spawn_normal <gen>
    Trigger - Turn off tschau <gen>
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Not equal to The secret Weapon)) and do (Actions)
      Loop - Actions
        Unit - Remove (Picked unit) from the game
    Trigger - Turn off show_prepare_message <gen>
moneynachlevel
  Events
    Time - Timer expires
  Conditions
  Actions
    Set VariableSet moneynachlevel = (moneynachlevel + 0.37)
turmstirbt
  Events
    Unit - A unit Dies
  Conditions
    ((Dying unit) is A structure) Equal to True
    (Owner of (Killing unit)) Equal to Player 12 (Brown)
  Actions
    Game - Display to (Player group((Owner of (Dying unit)))) the text: A Tower was destroyed. The owner got the gold back.
    Player - Add (Point-value of (Dying unit)) to (Owner of (Dying unit)).Current gold
    Unit - Order (Attacking unit) to Move To.(Center of ziel_links <gen>)
beute erhht
  Events
    Unit - A unit enters (Playable map area)
  Conditions
  Actions
    If ((Unit-type of (Entering unit)) Equal to Arthas 66) then do (Turn on win <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Arthas 66) then do (Turn off timer_level_finsihed <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Arthas 66) then do (Destroy (Last created timer window)) else do (Do nothing)
    -------- Wellen --------
    If ((Unit-type of (Entering unit)) Equal to Bristleback 8) then do (Turn on Windlauf <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Quill Beast 9) then do (Turn off Windlauf <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Mammoth 16) then do (Turn on Gottesschild <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Tuskar 17) then do (Turn off Gottesschild <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Arch Mage 56) then do (Turn on Gottesschild <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Illidan 57) then do (Turn off Gottesschild <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Necromancer 32) then do (Turn on aufspalten <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Abomination 33) then do (Turn off aufspalten <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Flame Lord 64) then do (Turn on aufspalten <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Thrall 65) then do (Turn off aufspalten <gen>) else do (Do nothing)
    If ((Unit-type of (Entering unit)) Equal to Arthas 66) then do (Turn off show_prepare_message <gen>) else do (Do nothing)
moneyystart
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
  Actions
    Wait 0.05 seconds
    Player - Set Player 1 (Red).Current gold to startgeld
    Player - Set Player 2 (Blue).Current gold to startgeld
    Player - Set Player 3 (Teal).Current gold to startgeld
    Player - Set Player 4 (Purple).Current gold to startgeld
    Player - Set Player 5 (Yellow).Current gold to startgeld
    Player - Set Player 6 (Orange).Current gold to startgeld
    Player - Set Player 7 (Green).Current gold to startgeld
    Player - Set Player 8 (Pink).Current gold to startgeld
    Player - Set Player 9 (Gray).Current gold to startgeld
    Set VariableSet present = (60 + (Integer((moneynachlevel x (Real((Level + 1)))))))
    Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to present
add sell
  Events
    Unit - A unit Finishes construction
  Conditions
  Actions
    Unit - Add Sell 1 to (Constructed structure)
sell all
  Events
    Player - Player 1 (Red) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren
  Events
    Player - Player 2 (Blue) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 2
  Events
    Player - Player 3 (Teal) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 3 (Teal) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 3
  Events
    Player - Player 4 (Purple) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 4 (Purple) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 4
  Events
    Player - Player 5 (Yellow) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 5 (Yellow) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 5
  Events
    Player - Player 6 (Orange) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 6 (Orange) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 6
  Events
    Player - Player 7 (Green) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 7 (Green) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 7
  Events
    Player - Player 8 (Pink) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 8 (Pink) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
sell all Kopieren 8
  Events
    Player - Player 9 (Gray) types a chat message containing -sell (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 9 (Gray) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
      Loop - Actions
        Unit - Add Sell to (Picked unit)
        Unit - Order (Picked unit) to Night Elf Priestess Of The Moon - Starfall.
Sell
  Events
    Unit - A unit Begins casting an ability
  Conditions
    (Ability being cast) Equal to Sell 1
  Actions
    Unit - Remove Sell 1 from (Triggering unit)
    Unit - Add Sell to (Triggering unit)
    Wait 5.00 seconds
    Unit - Remove Sell from (Triggering unit)
    Unit - Add Sell 1 to (Triggering unit)
sell endgueltig
  Events
    Unit - A unit Begins casting an ability
  Conditions
    (Ability being cast) Equal to Sell
  Actions
    Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Remove (Triggering unit) from the game
    Set VariableSet goldzurueck = (Integer(((Real((Point-value of (Triggering unit)))) x sellfaktor)))
    Player - Add goldzurueck to (Owner of (Triggering unit)).Current gold
    Game - Display to (Player group((Owner of (Triggering unit)))) the text: ((|cff0F6145You got + (String(goldzurueck))) + gold back.|r)
Dialog
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Game - Display to (All players) the text: |cFFCC0000Player 1 choose the difficulty|r
    Game - Pause the game
    Dialog - Create a dialog button for Dialog labelled |cff32CD32Very Easy
    Set VariableSet sehr_leicht = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog labelled |cffBDD631Easy
    Set VariableSet leicht = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog labelled |cffFFCC00Normal
    Set VariableSet normal = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog labelled |cffFE890DHard
    Set VariableSet schwer = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog labelled |cffFF0202Very Hard
    Set VariableSet sehr_schwer = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog labelled |c00ff0000E|r|c00ff2500X|r|c00ff4900T|r|c00ff6e00R|r|c00ff9200E|r|c00ffb700M|r|c00ffdb00E|r
    Set VariableSet extreme = (Last created dialog Button)
    Dialog - Change the title of Dialog to Difficulty
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) slot status) Equal to Is playing
      Then - Actions
        Dialog - Show Dialog for Player 1 (Red)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 2 (Blue) slot status) Equal to Is playing
          Then - Actions
            Dialog - Show Dialog for Player 2 (Blue)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Player 3 (Teal) slot status) Equal to Is playing
              Then - Actions
                Dialog - Show Dialog for Player 3 (Teal)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Player 4 (Purple) slot status) Equal to Is playing
                  Then - Actions
                    Dialog - Show Dialog for Player 4 (Purple)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (Player 5 (Yellow) slot status) Equal to Is playing
                      Then - Actions
                        Dialog - Show Dialog for Player 5 (Yellow)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            (Player 6 (Orange) slot status) Equal to Is playing
                          Then - Actions
                            Dialog - Show Dialog for Player 6 (Orange)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Player 7 (Green) slot status) Equal to Is playing
                              Then - Actions
                                Dialog - Show Dialog for Player 7 (Green)
                              Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  If - Conditions
                                    (Player 8 (Pink) slot status) Equal to Is playing
                                  Then - Actions
                                    Dialog - Show Dialog for Player 8 (Pink)
                                  Else - Actions
                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      If - Conditions
                                        (Player 9 (Gray) slot status) Equal to Is playing
                                      Then - Actions
                                        Dialog - Show Dialog for Player 9 (Gray)
                                      Else - Actions
sehr leicht
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to sehr_leicht
  Actions
    Set VariableSet Leben = 50.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 1.00
    Set VariableSet startgeld = 100
    Set VariableSet moneynachlevel = 11.00
    Game - Display to (All players) the text: |cffdcc700VERY EASY|r50 Lives-10% enemies Live100 Gold for starting + 11xLevel after every LevelYou sell for 100%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 1
    Set VariableSet handi = 90.00
    Set VariableSet Handiaenderung = 0.20
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 100.00%
    Player - Set Player 12 (Brown) handicap to handi%
leicht
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to leicht
  Actions
    Set VariableSet Leben = 40.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 1.00
    Set VariableSet startgeld = 90
    Set VariableSet moneynachlevel = 10.50
    Game - Display to (All players) the text: |cffdcc700EASY|r40 Lives-5% enemies Live90 Gold for starting + 10,5xLevel after every LevelYou sell for 100%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 2
    Set VariableSet handi = 95.00
    Set VariableSet Handiaenderung = 0.25
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 100.00%
    Player - Set Player 12 (Brown) handicap to handi%
    Set VariableSet present = (Integer(moneynachlevel))
normal
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to normal
  Actions
    Set VariableSet Leben = 30.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 0.90
    Set VariableSet startgeld = 80
    Set VariableSet moneynachlevel = 10.00
    Game - Display to (All players) the text: |cffdcc700NORMAL|r30 Lives80 Gold for starting + 10xLevel after every LevelYou sell for 90%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 3
    Set VariableSet handi = 100.00
    Set VariableSet Handiaenderung = 0.30
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 90.00%
    Player - Set Player 12 (Brown) handicap to handi%
    Set VariableSet present = (Integer(moneynachlevel))
schwer
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to schwer
  Actions
    Set VariableSet Leben = 25.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 0.80
    Set VariableSet startgeld = 80
    Set VariableSet moneynachlevel = 9.50
    Game - Display to (All players) the text: |cffdcc700HARD|r25 Lives+5% enemies Live80 Gold for starting + 9,5xLevel after every LevelYou sell for 80%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 4
    Set VariableSet handi = 105.00
    Set VariableSet Handiaenderung = 0.35
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 80.00%
    Player - Set Player 12 (Brown) handicap to handi%
    Set VariableSet present = (Integer(moneynachlevel))
sehr schwer
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to sehr_schwer
  Actions
    Set VariableSet Leben = 20.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 0.70
    Set VariableSet startgeld = 70
    Set VariableSet moneynachlevel = 9.00
    Game - Display to (All players) the text: |cffdcc700VERY HARD|r20 Lives+10% enemies Live70 Gold for starting + 9xLevel after every LevelYou sell for 70%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 5
    Set VariableSet handi = 110.00
    Set VariableSet Handiaenderung = 0.45
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 70.00%
    Player - Set Player 12 (Brown) handicap to handi%
    Set VariableSet present = (Integer(moneynachlevel))
extreme
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
    (Clicked dialog button) Equal to extreme
  Actions
    Set VariableSet Leben = 20.00
    Set VariableSet maxleben = (Integer(Leben))
    Set VariableSet sellfaktor = 0.60
    Set VariableSet startgeld = 70
    Set VariableSet moneynachlevel = 9.00
    Game - Display to (All players) the text: |cffdcc700EXTREME|r20 Lives+15% enemies Live70 Gold for starting + 9xLevel after every LevelYou sell for 60%
    Dialog - Hide Dialog for Player 1 (Red)
    Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Integer(Leben))
    Set VariableSet dif = 6
    Set VariableSet handi = 115.00
    Set VariableSet Handiaenderung = 0.55
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - Set (Picked player) handicap to 60.00%
    Player - Set Player 12 (Brown) handicap to handi%
    Set VariableSet present = (Integer(moneynachlevel))
nachtraegliche aenderung
  Events
    Player - Player 1 (Red) types a chat message containing -dif (stringnoformat) as A substring
    Player - Player 2 (Blue) types a chat message containing -dif (stringnoformat) as A substring
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 1
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 100.00%
        Set VariableSet Handiaenderung = 0.20
        Set VariableSet sellfaktor = 1.00
        Set VariableSet handi = (90.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to very easy!
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 2
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 100.00%
        Set VariableSet Handiaenderung = 0.25
        Set VariableSet sellfaktor = 1.00
        Set VariableSet handi = (95.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to easy!
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 3
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 90.00%
        Set VariableSet Handiaenderung = 0.30
        Set VariableSet sellfaktor = 0.90
        Set VariableSet handi = (100.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to normal!
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 4
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 80.00%
        Set VariableSet Handiaenderung = 0.35
        Set VariableSet sellfaktor = 0.80
        Set VariableSet handi = (105.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to hard!
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 5
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 70.00%
        Set VariableSet Handiaenderung = 0.45
        Set VariableSet sellfaktor = 0.70
        Set VariableSet handi = (110.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to very hard!
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 6, 6)) Equal to 6
      Then - Actions
        Player Group - Pick every player in (All players) and do (Actions)
          Loop - Actions
            Player - Set (Picked player) handicap to 60.00%
        Set VariableSet Handiaenderung = 0.55
        Set VariableSet sellfaktor = 0.60
        Set VariableSet handi = (115.00 + ((Real(Level)) x Handiaenderung))
        Game - Display to (All players) the text: The difficulty was changed to extreme!
      Else - Actions
    Trigger - Run Handicap_aenderung <gen> (checking conditions)
Quest
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Trigger - Run Kick <gen> (ignoring conditions)
    Trigger - Run commands <gen> (ignoring conditions)
    Trigger - Run ruestung <gen> (ignoring conditions)
    Trigger - Run special_Waves <gen> (ignoring conditions)
    Quest - Create a Optional quest titled Credits with the description There is a a rather great thank you for "|cffFFCC00friendlyhost|r" for the many tips he gave me for ther version 0.974.And also a big 'thank you' to |cffFFCC00bananaHUNT |rfor the nice UI., using icon path ReplaceableTextures\CommandButtons\BTNDruidOfTheClaw.blp
    Quest - Create a Optional quest titled Attack-Amor Index with the description Siege Chaos Piercing Magic Normal HeroUnarmored 120 100 125 80 75 102%Normal 95 100 95 85 125 102%Light 90 100 90 85 135 102%Medium 50 100 105 145 100 102%Heavy 95 100 95 90 120 102%Fortified 150 100 90 115 45 90%, using icon path ReplaceableTextures\CommandButtons\BTNMarksmanship.blp
ruestung
  Events
  Conditions
  Actions
    Quest - Create a Optional quest titled armor overview with the description (null), using icon path ReplaceableTextures\CommandButtons\BTNArcaniteArmor.blp
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 1 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 2 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 3 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 4 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 5 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 6 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 7 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 8 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 9 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 10 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 11 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 12 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 13 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 14 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 15 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 16 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 17 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 18 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 19 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 20 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 21 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 22 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 23 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 24 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 25 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 26 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 27 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 28 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 29 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 30 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 31 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 32 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 33 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 34 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 35 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 36 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 37 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 38 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 39 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 40 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 41 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 42 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 43 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 44 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 45 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 46 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 47 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 48 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 49 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 50 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 51 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 52 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 53 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 54 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 55 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 56 - Medium
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 57 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 58 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 59 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 60 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 61 - Heavy
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 62 - Fortified
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 63 - Normal
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 64 - Unarmored
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 65 - Light
    Quest - Create a quest requirement for (Last created quest) with the description Lvl 66 - Medium
Kick
  Events
  Conditions
  Actions
    Quest - Create a Required quest titled How to kick with the description Playernumbers|cffFF02021-Red|cff0041FF2-Blue|cff1BE6B83-Teal|cff5300804-Purple|cffFFCC005-Yellow|cffFE890D6-Orange|cff1FBF007-Green|cffE55AAF8-Rosa|cff9495969-Grey, using icon path ReplaceableTextures\CommandButtons\BTNAvatarOn.blp
    Quest - Create a quest requirement for (Last created quest) with the description kick [Playernumber]
commands
  Events
  Conditions
  Actions
    Quest - Create a Required quest titled Commands with the description Commands, except for kick-system, using icon path ReplaceableTextures\CommandButtons\BTNShamanMaster.blp
    Quest - Create a quest requirement for (Last created quest) with the description start/stop |cffFE890D-> start/stop Timer (Player 1 & 2) | for non-continuous spawn
    Quest - Create a quest requirement for (Last created quest) with the description speed x |cffFE890D-> set time between levels (Player 1 & 2)
    Quest - Create a quest requirement for (Last created quest) with the description sell |cffFE890D-> sell all your towers
    Quest - Create a quest requirement for (Last created quest) with the description give x y |cffFE890D-> gives Player x y gold (example: "-give 3 25" -> you give Player 3 25 gold)
    Quest - Create a quest requirement for (Last created quest) with the description convert |cffFE890D-> convert all towers in your region to your ownership
    Quest - Create a quest requirement for (Last created quest) with the description dif |cffFE890D-> change difficulty: 1-very easy....6-extreme, just changes life of enemies and sell-factor (Player 1&2)
special Waves
  Events
  Conditions
  Actions
    Quest - Create a Required quest titled Special Waves with the description Every 8th Wave is a special wave. They have a special ability, but less life.Every 11th Wave is a boss wave. Only one per spawn but much life. (A Boss steals 10 lifes dependent on his life - but at least 2), using icon path ReplaceableTextures\CommandButtons\BTNPossession.blp
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 8 |r- Windwalk
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 16 |r- Devine
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 24 |r- increased movement speed and evasion
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 32 |r- zombie after death
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 40 |r- flying
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 48 |r- slowing near towers
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 56 |r- Devine
    Quest - Create a quest requirement for (Last created quest) with the description |cff0041FFlvl 64 |r- delamination
Spieler 1
  Events
    Player - Player 1 (Red) leaves the game
  Conditions
    (Player 1 (Red) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player one leaved the game!
    Player - Set Player 1 (Red).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 2
  Events
    Player - Player 2 (Blue) leaves the game
  Conditions
    (Player 2 (Blue) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 2 (Blue).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player two leaved the game!
    Player - Set Player 2 (Blue).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 3
  Events
    Player - Player 3 (Teal) leaves the game
  Conditions
    (Player 3 (Teal) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player three leaved the game!
    Player - Set Player 3 (Teal).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 4
  Events
    Player - Player 4 (Purple) leaves the game
  Conditions
    (Player 4 (Purple) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player four leaved the game!
    Player - Set Player 4 (Purple).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 5
  Events
    Player - Player 5 (Yellow) leaves the game
  Conditions
    (Player 5 (Yellow) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 5 (Yellow).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player five leaved the game!
    Player - Set Player 5 (Yellow).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 6
  Events
    Player - Player 6 (Orange) leaves the game
  Conditions
    (Player 6 (Orange) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player six leaved the game!
    Player - Set Player 6 (Orange).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 7
  Events
    Player - Player 7 (Green) leaves the game
  Conditions
    (Player 7 (Green) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player seven leaved the game!
    Player - Set Player 7 (Green).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 8
  Events
    Player - Player 8 (Pink) leaves the game
  Conditions
    (Player 8 (Pink) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 8 (Pink).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player eight leaved the game!
    Player - Set Player 8 (Pink).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Spieler 9
  Events
    Player - Player 9 (Gray) leaves the game
  Conditions
    (Player 9 (Gray) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 9 (Gray).) and do (Explode (Picked unit).)
    Game - Display to (All players) the text: Player nine leaved the game!
    Player - Set Player 9 (Gray).Current gold to 0
    Trigger - Run Check_Playernumber <gen> (ignoring conditions)
    Trigger - Run Handicap_aenderung <gen> (ignoring conditions)
Unbezeichneter Auslöser 002
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Player 1 (Red) slot status) Equal to Is playing
        (Player 3 (Teal) slot status) Equal to Is playing
        (Player 6 (Orange) slot status) Equal to Is playing
        (Player 7 (Green) slot status) Equal to Is playing
        (Player 9 (Gray) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Wall) and do (Remove (Picked unit) from the game)
Unbezeichneter Auslöser 002 Kopieren
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Player 2 (Blue) slot status) Equal to Is playing
        (Player 4 (Purple) slot status) Equal to Is playing
        (Player 5 (Yellow) slot status) Equal to Is playing
        (Player 8 (Pink) slot status) Equal to Is playing
        (Player 9 (Gray) slot status) Equal to Is playing
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Wall) and do (Remove (Picked unit) from the game)
K2
  Events
    Player - Player 1 (Red) types a chat message containing -kick 2 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 2 (Blue) with the message: KICK!
    Trigger - Run Spieler_2 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 2 was kicked!
K2 Kopieren
  Events
    Player - Player 1 (Red) types a chat message containing -kick 3 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 3 (Teal) with the message: KICK!
    Trigger - Run Spieler_3 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 3 was kicked!
K2 Kopieren 2
  Events
    Player - Player 1 (Red) types a chat message containing -kick 4 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 4 (Purple) with the message: KICK!
    Trigger - Run Spieler_4 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 4 was kicked!
K2 Kopieren 3
  Events
    Player - Player 1 (Red) types a chat message containing -kick 5 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 5 (Yellow) with the message: KICK!
    Trigger - Run Spieler_5 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 5 was kicked!
K2 Kopieren 4
  Events
    Player - Player 1 (Red) types a chat message containing -kick 6 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 6 (Orange) with the message: KICK!
    Trigger - Run Spieler_6 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 6 was kicked!
K2 Kopieren 5
  Events
    Player - Player 1 (Red) types a chat message containing -kick 7 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 7 (Green) with the message: KICK!
    Trigger - Run Spieler_7 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 7 was kicked!
K2 Kopieren 6
  Events
    Player - Player 1 (Red) types a chat message containing -kick 8 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 8 (Pink) with the message: KICK!
    Trigger - Run Spieler_8 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 8 was kicked!
K2 Kopieren 7
  Events
    Player - Player 1 (Red) types a chat message containing -kick 9 (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Defeat Player 9 (Gray) with the message: KICK!
    Trigger - Run Spieler_9 <gen> (ignoring conditions)
    Game - Display to (All players) the text: Player 9 was kicked!
convert Kopieren Kopieren
  Events
    Player - Player 3 (Teal) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in spieler_1_Kopieren_2 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 3 (Teal) and Change color
convert Kopieren Kopieren 2
  Events
    Player - Player 4 (Purple) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in spieler_1_Kopieren_2_Kopieren <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 4 (Purple) and Change color
convert
  Events
    Player - Player 1 (Red) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in spieler_1 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 1 (Red) and Change color
convert Kopieren
  Events
    Player - Player 2 (Blue) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in spieler_1_Kopieren <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 2 (Blue) and Change color
convert Kopieren Kopieren 3
  Events
    Player - Player 5 (Yellow) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in Gebiet_023 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 5 (Yellow) and Change color
convert Kopieren Kopieren 4
  Events
    Player - Player 6 (Orange) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in Gebiet_023_Kopieren <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 6 (Orange) and Change color
convert Kopieren Kopieren 4 Kopieren
  Events
    Player - Player 7 (Green) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in Gebiet_025 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 7 (Green) and Change color
convert Kopieren Kopieren 4 Kopieren 2
  Events
    Player - Player 8 (Pink) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in Gebiet_025_Kopieren <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 8 (Pink) and Change color
convert Kopieren Kopieren 4 Kopieren 3
  Events
    Player - Player 9 (Gray) types a chat message containing -convert (stringnoformat) as An exact match
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in Gebiet_025_Kopieren_2 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 9 (Gray) and Change color
Info
  Events
    Player - Player 1 (Red) types a chat message containing - (stringnoformat) as A substring
    Player - Player 2 (Blue) types a chat message containing - (stringnoformat) as A substring
    Player - Player 3 (Teal) types a chat message containing - (stringnoformat) as A substring
    Player - Player 4 (Purple) types a chat message containing - (stringnoformat) as A substring
    Player - Player 5 (Yellow) types a chat message containing - (stringnoformat) as A substring
    Player - Player 6 (Orange) types a chat message containing - (stringnoformat) as A substring
    Player - Player 7 (Green) types a chat message containing - (stringnoformat) as A substring
    Player - Player 8 (Pink) types a chat message containing - (stringnoformat) as A substring
    Player - Player 9 (Gray) types a chat message containing - (stringnoformat) as A substring
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Entered chat string) Equal to -special
        (Entered chat string) Equal to -immune
        (Entered chat string) Equal to -boss
        (Entered chat string) Equal to -level
        (Entered chat string) Equal to -air
  Actions
    Game - Display to (All players) the text: |cffFE890DEvery |cffFF020211th|cffFE890D Level is a boss levelEvery |cffFF02028th|cffFE890D Level is a special level
aufspalten
  Events
    Unit - A unit Dies
  Conditions
  Actions
    Unit Group - Pick every unit in (Units within 300.00 of (Position of (Dying unit)) matching ((Owner of (Matching unit)) Equal to Player 12 (Brown)).) and do (Actions)
      Loop - Actions
        Unit - Set Rally-Point for (Picked unit) to (Rally-Point of (Dying unit) as a point)
        Unit - Order (Picked unit) to Move To.(Rally-Point of (Dying unit) as a point)
show range
  Events
    Unit - A unit Begins casting an ability
  Conditions
    (Ability being cast) Equal to Show Range
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet castingeinheit = (Casting unit)
    Set VariableSet n = 0
    Set VariableSet alpha = 0.00
    Set VariableSet anzahl = (Integer((((2.00 x Pi) x (Current acquisition range of (Casting unit))) / 75.00)))
    Set VariableSet winkel = (360.00 / (Real(anzahl)))
    Trigger - Run show_range_methode <gen> (checking conditions)
    Wait 0.20 seconds
    Trigger - Turn on (This trigger)
show range methode
  Events
  Conditions
    n Less than anzahl
  Actions
    Special Effect - Create a special effect at ((Position of castingeinheit) offset by (Current acquisition range of castingeinheit) towards alpha degrees.) using Abilities\Spells\Items\AIso\AIsoTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Set VariableSet n = (n + 1)
    Set VariableSet alpha = (alpha + winkel)
    Trigger - Run (This trigger) (checking conditions)
auto teleport
  Events
    Unit - A unit Is issued an order targeting a point
  Conditions
    (Owner of (Triggering unit)) Not equal to Player 12 (Brown)
    ((Triggering unit) is A structure) Equal to False
  Actions
    Set VariableSet xentf = ((X of (Position of (Triggering unit))) - (X of (Target point of issued order)))
    Set VariableSet yentf = ((Y of (Position of (Triggering unit))) - (Y of (Target point of issued order)))
    Set VariableSet entfernung = ((xentf x xentf) + (yentf x yentf))
    Set VariableSet entfernung = (Square root(entfernung))
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        entfernung Greater than or equal to 800.00
      Then - Actions
        Unit - Move (Triggering unit) instantly to (Target point of issued order)
        Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Orc\TrollBerserk\TrollBeserkerTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at (Target point of issued order) using Abilities\Spells\Orc\TrollBerserk\TrollBeserkerTarget.mdl
        Special Effect - Destroy (Last created special effect)
      Else - Actions
pause
  Events
    Player - Player 1 (Red) types a chat message containing -stop (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -stop (stringnoformat) as An exact match
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to False
      Then - Actions
        Countdown Timer - Pause Timer
        Game - Display to (All players) the text: The Timer was stopped
        Set VariableSet timerstopped = True
      Else - Actions
        Game - Display to (All players) the text: The Timer can't be stopped by continuous spawn.
weiter
  Events
    Player - Player 1 (Red) types a chat message containing -start (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -start (stringnoformat) as An exact match
  Conditions
    continousSpawn Equal to False
    timerist0 Equal to False
  Actions
    Countdown Timer - Resume Timer
    Game - Display to (All players) the text: The Timer was started
    Set VariableSet timerstopped = False
arbeiter da
  Events
    Time - Elapsed game time is 0.15 seconds
  Conditions
  Actions
    Set VariableSet arbeiter = Apprentice Menschen
    Set VariableSet selectedPlayer = Player 1 (Red)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 2 (Blue)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 3 (Teal)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 4 (Purple)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 5 (Yellow)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 6 (Orange)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 7 (Green)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 8 (Pink)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 9 (Gray)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (-30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet arbeiter = Master Menschen
    Set VariableSet selectedPlayer = Player 1 (Red)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 2 (Blue)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 3 (Teal)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 4 (Purple)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 5 (Yellow)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 6 (Orange)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 7 (Green)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 8 (Pink)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
    Set VariableSet selectedPlayer = Player 9 (Gray)
    If ((selectedPlayer slot status) Equal to Is playing) then do (Create 1.arbeiter for selectedPlayer at ((selectedPlayer start location) offset by (30.00, 0)) facing Default building facing degrees) else do (Do nothing)
arbeiter
  Events
    Time - Every 1.50 seconds of game time
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Apprentice Menschen)) and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s stand (animationname) animation
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Master Menschen)) and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s stand (animationname) animation
beweg deinen Arsch
  Events
    Unit - A unit Begins casting an ability
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Move your ass
  Actions
    Custom script: set bj_wantDestroyGroup = true
    Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching ((Zielgerade <gen> contains (Matching unit)) Equal to False).) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Move To.(Rally-Point of (Picked unit) as a point)
Gottesschild
  Events
    Unit - A unit Is attacked
  Conditions
    (Random integer number between 1 and 100) Less than or equal to 1
  Actions
    Unit - Order (Attacked unit) to Human Paladin - Activate Divine Shield.
    Unit - Order (Attacked unit) to Move To.(Rally-Point of (Attacked unit) as a point)
Windlauf
  Events
    Unit - A unit Is attacked
  Conditions
    (Random integer number between 1 and 100) Less than or equal to 5
  Actions
    Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk.
    Unit - Order (Attacked unit) to Move To.(Rally-Point of (Attacked unit) as a point)
aktualisiere Dialog
  Events
  Conditions
  Actions
    Dialog - Clear Dialog_spezial
    Dialog - Change the title of Dialog_spezial to Game Speed?
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (zeit_zw_level Equal to 3.00) or (zeit_zw_level Equal to 15.00)
      Then - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00fast gameplay |cffFF0000[X]|r
      Else - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00fast gameplay |cffFFCC00[ ]
    Set VariableSet fastgame = (Last created dialog Button)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (zeit_zw_level Equal to 8.00) or (zeit_zw_level Equal to 20.00)
      Then - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00normal gameplay |cffFF0000[X]
      Else - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00normal gameplay |cffFFCC00[ ]
    Set VariableSet normalgameplay = (Last created dialog Button)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (zeit_zw_level Equal to 12.00) or (zeit_zw_level Equal to 30.00)
      Then - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00slow gameplay |cffFF0000[X]
      Else - Actions
        Dialog - Create a dialog button for Dialog_spezial labelled |cff1FBF00slow gameplay |cffFFCC00[ ]
    Set VariableSet slowGame = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog_spezial labelled |cffFF0202START GAME!
    Set VariableSet fertig = (Last created dialog Button)
    Wait 0.01 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) slot status) Equal to Is playing
      Then - Actions
        Dialog - Show Dialog_spezial for Player 1 (Red)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 2 (Blue) slot status) Equal to Is playing
          Then - Actions
            Dialog - Show Dialog_spezial for Player 2 (Blue)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Player 3 (Teal) slot status) Equal to Is playing
              Then - Actions
                Dialog - Show Dialog_spezial for Player 3 (Teal)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Player 4 (Purple) slot status) Equal to Is playing
                  Then - Actions
                    Dialog - Show Dialog_spezial for Player 4 (Purple)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (Player 5 (Yellow) slot status) Equal to Is playing
                      Then - Actions
                        Dialog - Show Dialog_spezial for Player 5 (Yellow)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            (Player 6 (Orange) slot status) Equal to Is playing
                          Then - Actions
                            Dialog - Show Dialog_spezial for Player 6 (Orange)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Player 7 (Green) slot status) Equal to Is playing
                              Then - Actions
                                Dialog - Show Dialog_spezial for Player 7 (Green)
                              Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  If - Conditions
                                    (Player 8 (Pink) slot status) Equal to Is playing
                                  Then - Actions
                                    Dialog - Show Dialog_spezial for Player 8 (Pink)
                                  Else - Actions
                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      If - Conditions
                                        (Player 9 (Gray) slot status) Equal to Is playing
                                      Then - Actions
                                        Dialog - Show Dialog_spezial for Player 9 (Gray)
                                      Else - Actions
fast Game Dialog
  Events
    Dialog - A dialog button is clicked for Dialog_spezial
  Conditions
    (Clicked dialog button) Equal to fastgame
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to True
      Then - Actions
        Set VariableSet zeit_zw_level = 15.00
      Else - Actions
        Set VariableSet zeit_zw_level = 3.00
    Game - Display to (All players) the text: (The time between levels was set to + ((String((Integer(zeit_zw_level)))) + seconds.))
    Trigger - Run aktualisiere_Dialog <gen> (checking conditions)
normal Game Dialog
  Events
    Dialog - A dialog button is clicked for Dialog_spezial
  Conditions
    (Clicked dialog button) Equal to normalgameplay
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to True
      Then - Actions
        Set VariableSet zeit_zw_level = 20.00
      Else - Actions
        Set VariableSet zeit_zw_level = 8.00
    Game - Display to (All players) the text: (The time between levels was set to + ((String((Integer(zeit_zw_level)))) + seconds.))
    Trigger - Run aktualisiere_Dialog <gen> (checking conditions)
slow Game Dialog
  Events
    Dialog - A dialog button is clicked for Dialog_spezial
  Conditions
    (Clicked dialog button) Equal to slowGame
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to True
      Then - Actions
        Set VariableSet zeit_zw_level = 30.00
      Else - Actions
        Set VariableSet zeit_zw_level = 12.00
    Game - Display to (All players) the text: (The time between levels was set to + ((String((Integer(zeit_zw_level)))) + seconds.))
    Trigger - Run aktualisiere_Dialog <gen> (checking conditions)
fertig
  Events
    Dialog - A dialog button is clicked for Dialog_spezial
  Conditions
    (Clicked dialog button) Equal to fertig
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Dialog - Hide Dialog_spezial for (Picked player)
    Game - Unpause the game
    Trigger - Run bestenliste <gen> (checking conditions)
gamespeed manuell
  Events
    Player - Player 1 (Red) types a chat message containing -speed (stringnoformat) as A substring
    Player - Player 2 (Blue) types a chat message containing -speed (stringnoformat) as A substring
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 8, 9)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 8, 9)))) Less than or equal to 99
      Then - Actions
        Set VariableSet zeit_zw_level = (Real((Substring((Entered chat string), 8, 9))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            continousSpawn Equal to True
            zeit_zw_level Less than 15.00
          Then - Actions
            Set VariableSet zeit_zw_level = 15.00
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            continousSpawn Equal to True
            zeit_zw_level Greater than 90.00
          Then - Actions
            Set VariableSet zeit_zw_level = 90.00
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            continousSpawn Equal to False
            zeit_zw_level Greater than 30.00
          Then - Actions
            Set VariableSet zeit_zw_level = 30.00
          Else - Actions
        Game - Display to (All players) the text: (The time between levels was set to + ((String((Integer(zeit_zw_level)))) + seconds.))
      Else - Actions
Stare Spawn Dia
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
  Actions
    Trigger - Run akt_spawn_dialog <gen> (checking conditions)
akt spawn dialog
  Events
  Conditions
  Actions
    Dialog - Clear spawndialog
    Dialog - Change the title of spawndialog to Spawn settings
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to True
      Then - Actions
        Dialog - Create a dialog button for spawndialog labelled |cff1BE6B8continuous Spawn|r |cffFF0202[X]|cff1BE6B8(harder) |cffFE890DBETA
        Set VariableSet fortlaufenderSpawn = (Last created dialog Button)
        Dialog - Create a dialog button for spawndialog labelled |cff1BE6B8Spawn if Level completed |cffFFCC00[ ]
        Set VariableSet spawnnachLevel = (Last created dialog Button)
      Else - Actions
        Dialog - Create a dialog button for spawndialog labelled |cff1BE6B8continuous Spawn |cffFFCC00[ ]|cff1BE6B8(harder) |cffFE890DBETA
        Set VariableSet fortlaufenderSpawn = (Last created dialog Button)
        Dialog - Create a dialog button for spawndialog labelled |cff1BE6B8Spawn if Level completed |cffFF0202[X]
        Set VariableSet spawnnachLevel = (Last created dialog Button)
    Dialog - Create a dialog button for spawndialog labelled |cffFF0202GO ON!
    Set VariableSet SpawnDiaFertig = (Last created dialog Button)
    Wait 0.01 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) slot status) Equal to Is playing
      Then - Actions
        Dialog - Show spawndialog for Player 1 (Red)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 2 (Blue) slot status) Equal to Is playing
          Then - Actions
            Dialog - Show spawndialog for Player 2 (Blue)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Player 3 (Teal) slot status) Equal to Is playing
              Then - Actions
                Dialog - Show spawndialog for Player 3 (Teal)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Player 4 (Purple) slot status) Equal to Is playing
                  Then - Actions
                    Dialog - Show spawndialog for Player 4 (Purple)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (Player 5 (Yellow) slot status) Equal to Is playing
                      Then - Actions
                        Dialog - Show spawndialog for Player 5 (Yellow)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            (Player 6 (Orange) slot status) Equal to Is playing
                          Then - Actions
                            Dialog - Show spawndialog for Player 6 (Orange)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Player 7 (Green) slot status) Equal to Is playing
                              Then - Actions
                                Dialog - Show spawndialog for Player 7 (Green)
                              Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  If - Conditions
                                    (Player 8 (Pink) slot status) Equal to Is playing
                                  Then - Actions
                                    Dialog - Show spawndialog for Player 8 (Pink)
                                  Else - Actions
                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      If - Conditions
                                        (Player 9 (Gray) slot status) Equal to Is playing
                                      Then - Actions
                                        Dialog - Show spawndialog for Player 9 (Gray)
                                      Else - Actions
contionous
  Events
    Dialog - A dialog button is clicked for spawndialog
  Conditions
    (Clicked dialog button) Equal to fortlaufenderSpawn
  Actions
    Set VariableSet continousSpawn = True
    Game - Display to (All players) the text: The timer will start directly after spawn.
    Set VariableSet zeit_zw_level = 20.00
    Trigger - Turn on Spawn_fortlaufend <gen>
    Trigger - Turn off Spawn_normal <gen>
    Trigger - Run akt_spawn_dialog <gen> (checking conditions)
immernach Level
  Events
    Dialog - A dialog button is clicked for spawndialog
  Conditions
    (Clicked dialog button) Equal to spawnnachLevel
  Actions
    Set VariableSet continousSpawn = False
    Game - Display to (All players) the text: The timer will start after the level is finished.
    Set VariableSet zeit_zw_level = 8.00
    Trigger - Turn on Spawn_normal <gen>
    Trigger - Turn off Spawn_fortlaufend <gen>
    Trigger - Run akt_spawn_dialog <gen> (checking conditions)
weiter zu special
  Events
    Dialog - A dialog button is clicked for spawndialog
  Conditions
    (Clicked dialog button) Equal to SpawnDiaFertig
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        continousSpawn Equal to False
      Then - Actions
        Set VariableSet continousSpawn = False
        Game - Display to (All players) the text: The timer will start after the level is finished.
        Set VariableSet zeit_zw_level = 8.00
        Trigger - Turn on Spawn_normal <gen>
        Trigger - Turn off Spawn_fortlaufend <gen>
        Trigger - Run akt_spawn_dialog <gen> (checking conditions)
      Else - Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Dialog - Hide spawndialog for (Picked player)
    Trigger - Run aktualisiere_Dialog <gen> (checking conditions)
pl1
  Events
    Player - Player 1 (Red) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 1 (Red)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl2
  Events
    Player - Player 2 (Blue) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 2 (Blue)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl3
  Events
    Player - Player 3 (Teal) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 3 (Teal)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl4
  Events
    Player - Player 4 (Purple) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 4 (Purple)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl5
  Events
    Player - Player 5 (Yellow) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 5 (Yellow)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl6
  Events
    Player - Player 6 (Orange) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 6 (Orange)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl7
  Events
    Player - Player 7 (Green) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 7 (Green)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl8
  Events
    Player - Player 8 (Pink) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 8 (Pink)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
pl9
  Events
    Player - Player 9 (Gray) types a chat message containing -give (stringnoformat) as A substring
  Conditions
  Actions
    Set VariableSet gebenderSpieler = Player 9 (Gray)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Integer((Substring((Entered chat string), 7, 7)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 7, 7)))) Less than or equal to 9
        (Integer((Substring((Entered chat string), 9, 13)))) Greater than or equal to 1
        (Integer((Substring((Entered chat string), 9, 13)))) Less than or equal to 10000
      Then - Actions
        Set VariableSet selectedPlayer = (Player((Integer((Substring((Entered chat string), 7, 7))))))
        Set VariableSet geldmenge = (Integer((Substring((Entered chat string), 9, 13))))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (gebenderSpieler Current gold) Greater than or equal to geldmenge
          Then - Actions
            Game - Display to (Player group(selectedPlayer)) the text: (You got + ((String(geldmenge)) + ( gold from Player + ((String((Player number of gebenderSpieler))) + .))))
            Player - Add (-1 x geldmenge) to gebenderSpieler.Current gold
            Player - Add geldmenge to selectedPlayer.Current gold
          Else - Actions
            Game - Display to (Player group(gebenderSpieler)) the text: You havn't enougth money!
      Else - Actions
        Game - Display to (Player group(gebenderSpieler)) the text: invalid input
Handicap aenderung
  Events
    Dialog - A dialog button is clicked for Dialog_spezial
    Time - Every 30.00 seconds of game time
  Conditions
  Actions
    If (playernumber Less than 5) then do (Set Player 12 (Brown) handicap to handi%) else do (Do nothing)
    If (playernumber Equal to 5) then do (Set Player 12 (Brown) handicap to (handi + 7.50)%) else do (Do nothing)
    If (playernumber Equal to 6) then do (Set Player 12 (Brown) handicap to (handi + 10.00)%) else do (Do nothing)
    If (playernumber Equal to 7) then do (Set Player 12 (Brown) handicap to (handi + 13.50)%) else do (Do nothing)
    If (playernumber Equal to 8) then do (Set Player 12 (Brown) handicap to (handi + 18.00)%) else do (Do nothing)
    If (playernumber Equal to 9) then do (Set Player 12 (Brown) handicap to (handi + 23.00)%) else do (Do nothing)