Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Nahkampf-Arena.w3x
Variables
Initialisierung
move
win oben
win unten
Nahkampf-Initialisierung
Battle Code
Money
Money 2
Kill starting
Melee Initialization
Völker
die
no upgrade
Einstellungen
Eisvolk
Naga
Verdammnis
Zuflucht
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
bla
integer
No
45
bla_2
integer
No
30
KI
string
Yes
nicht_mitspieler
force
No
tot
force
No
move
Events
Unit - A unit Stops casting an ability
Unit - A unit enters (Playable map area)
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Gebiet_001 <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
Then - Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Gebiet_002 <gen>)
Else - Actions
win oben
Events
Unit - Baum der Ewigkeit 0012 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All allies of Player 7 (Green).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
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!
win unten
Events
Unit - Baum der Ewigkeit 0013 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 7 (Green).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Niederlage!
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
Events
Map initialization
Conditions
Actions
Player Group - Add Player 1 (Red) to nicht_mitspieler
Player Group - Add Player 7 (Green) to nicht_mitspieler
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 2200
Player - Set (Picked player) . Current lumber to 900
Set Variable Set bla = (140 / (Number of players in (All players controlled by a User player)))
Set Variable Set bla_2 = (100 / (Number of players in (All players controlled by a User player)))
Battle Code
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Picked unit)) Equal to Player 2 (Blue)
(Owner of (Picked unit)) Equal to Player 3 (Teal)
(Owner of (Picked unit)) Equal to Player 4 (Purple)
(Owner of (Picked unit)) Equal to Player 5 (Yellow)
(Owner of (Picked unit)) Equal to Player 6 (Orange)
((Picked unit) is A structure) Equal to False
((Picked unit) is Summoned) Equal to False
(Unit-type of (Picked unit)) Not equal to Rufer
(Unit-type of (Picked unit)) Not equal to Arbeiter
(Unit-type of (Picked unit)) Not equal to Roboter-Goblin
(Unit-type of (Picked unit)) Not equal to Geist
(Unit-type of (Picked unit)) Not equal to Arbeiter
(Unit-type of (Picked unit)) Not equal to Beschwörer
(Unit-type of (Picked unit)) Not equal to Peasant
(Unit-type of (Picked unit)) Not equal to Mur'gul Slave
Or - Any (Conditions) are true
Conditions
((Picked unit) is A Hero) Not equal to True
((Owner of (Picked unit)) controller) Equal to Computer
Then - Actions
Unit - Change ownership of (Picked unit) to Player 1 (Red) and Retain color
Unit - Order (Picked unit) to Attack-Move To . (Center of Gebiet_001 <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Picked unit)) Equal to Player 8 (Pink)
(Owner of (Picked unit)) Equal to Player 9 (Gray)
(Owner of (Picked unit)) Equal to Player 10 (Light Blue)
(Owner of (Picked unit)) Equal to Player 11 (Dark Green)
(Owner of (Picked unit)) Equal to Player 12 (Brown)
((Picked unit) is A structure) Equal to False
((Picked unit) is Summoned) Equal to False
(Unit-type of (Picked unit)) Not equal to Rufer
(Unit-type of (Picked unit)) Not equal to Roboter-Goblin
(Unit-type of (Picked unit)) Not equal to Arbeiter
(Unit-type of (Picked unit)) Not equal to Geist
(Unit-type of (Picked unit)) Not equal to Arbeiter
(Unit-type of (Picked unit)) Not equal to Beschwörer
(Unit-type of (Picked unit)) Not equal to Peasant
(Unit-type of (Picked unit)) Not equal to Mur'gul Slave
Or - Any (Conditions) are true
Conditions
((Picked unit) is A Hero) Not equal to True
((Owner of (Picked unit)) controller) Equal to Computer
Then - Actions
Unit - Change ownership of (Picked unit) to Player 7 (Green) and Retain color
Unit - Order (Picked unit) to Attack-Move To . (Center of Gebiet_002 <gen>)
Else - Actions
Player - Set Player 1 (Red) . Food used to 0
Player - Set Player 7 (Green) . Food used to 0
Money
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 7 (Green)
Then - Actions
Player - Add ((Level of (Dying unit)) x bla) to Player 1 (Red) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 1 (Red) . Current gold
Player - Add ((Level of (Dying unit)) x bla) to Player 2 (Blue) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 2 (Blue) . Current gold
Player - Add ((Level of (Dying unit)) x bla) to Player 3 (Teal) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 3 (Teal) . Current gold
Player - Add ((Level of (Dying unit)) x bla) to Player 4 (Purple) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 4 (Purple) . Current gold
Player - Add ((Level of (Dying unit)) x bla) to Player 5 (Yellow) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 5 (Yellow) . Current gold
Player - Add ((Level of (Dying unit)) x bla) to Player 6 (Orange) . Current lumber
Player - Add ((Level of (Dying unit)) x bla_2) to Player 6 (Orange) . Current gold
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
Then - Actions
Player - Add ((Level of (Dying unit)) x bla) to Player 7 (Green) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 7 (Green) . Current lumber
Player - Add ((Level of (Dying unit)) x bla) to Player 8 (Pink) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 8 (Pink) . Current lumber
Player - Add ((Level of (Dying unit)) x bla) to Player 9 (Gray) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 9 (Gray) . Current lumber
Player - Add ((Level of (Dying unit)) x bla) to Player 10 (Light Blue) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 10 (Light Blue) . Current lumber
Player - Add ((Level of (Dying unit)) x bla) to Player 11 (Dark Green) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 11 (Dark Green) . Current lumber
Player - Add ((Level of (Dying unit)) x bla) to Player 12 (Brown) . Current gold
Player - Add ((Level of (Dying unit)) x bla_2) to Player 12 (Brown) . Current lumber
Else - Actions
Money 2
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Player - Add (100 + ((Number of units in (Units owned by Player 1 (Red).)) x 20)) to (Picked player) . Current gold
Player - Add 50 to (Picked player) . Current lumber
Player Group - Pick every player in (All allies of Player 7 (Green).) and do (Actions)
Loop - Actions
Player - Add (100 + ((Number of units in (Units owned by Player 7 (Green).)) x 20)) to (Picked player) . Current gold
Player - Add 50 to (Picked player) . Current lumber
Kill starting
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Picked unit) Not equal to Baum der Ewigkeit 0012 <gen>
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Picked unit) Not equal to Baum der Ewigkeit 0013 <gen>
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Player Group - Add Player 1 (Red) to nicht_mitspieler
Player Group - Add Player 7 (Green) to nicht_mitspieler
die
Events
Unit - A unit Dies
Conditions
(Count structures controlled by (Owner of (Dying unit)) (Exclude incomplete structures)) Equal to 0
Actions
Game - Defeat (Owner of (Triggering unit)) with the message: Niederlage!
no upgrade
Events
Unit - A unit enters (Playable map area)
Conditions
((Triggering unit) is A structure) Equal to True
(Unit-type of (Triggering unit)) Not equal to Great Hall
(Race of (Owner of (Triggering unit))) Equal to Orc
Actions
Player - Limit training of Tempel der Gezeiten (Auswählen) to 0 for (Owner of (Triggering unit))
Player - Limit training of Halle des Eises (Auswählen) to 0 for (Owner of (Triggering unit))
Player - Limit training of Dorfhalle (Auswählen) to 0 for (Owner of (Triggering unit))
Player - Limit training of Bau des Wahnsinns (Auswählen) to 0 for (Owner of (Triggering unit))
Einstellungen
Events
Map initialization
Conditions
Actions
Set Variable Set KI[1] = "war3mapImported\Goblin_KI.ai"
Set Variable Set KI[2] = "war3mapImported\Naga KI.ai"
Set Variable Set KI[3] = "war3mapImported\Verdamnis_KI.ai"
Set Variable Set KI[4] = "war3mapImported\Zuflucht_KI.ai"
Set Variable Set KI[5] = "war3mapImported\Eisvolk_KI.ai"
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to Computer
(Race of (Picked player)) Equal to Human
((Picked player) is in nicht_mitspieler.) Equal to False
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\D_nen KI.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to Computer
(Race of (Picked player)) Equal to Undead
((Picked player) is in nicht_mitspieler.) Equal to False
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\Naturvolk_KI.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to Computer
(Race of (Picked player)) Equal to Orc
((Picked player) is in nicht_mitspieler.) Equal to False
Then - Actions
AI - Start melee AI script for (Picked player) : KI[(Random integer number between 1 and 5)]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to Computer
(Race of (Picked player)) Equal to Night Elf
((Picked player) is in nicht_mitspieler.) Equal to False
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\Listvolk_KI.ai (Unexpected type: 'aiscript')
Else - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Melee Game - Create (Race of (Picked player)) starting units for (Picked player) at ((Picked player) start location) ( Include Heroes)
Player - Limit training of Niedergroßdrache to 4 for (Picked player)
Player - Limit training of Blaugroßdrache to 4 for (Picked player)
Player - Limit training of Bronzegroßdrache to 3 for (Picked player)
Player - Limit training of Grüngroßdrache to 2 for (Picked player)
Player - Limit training of Heroes to 3 for (Picked player)
Player - Limit training of Eis-Troll-Hohepriester to 1 for (Picked player)
Player - Limit training of Lord des Eises to 1 for (Picked player)
Player - Limit training of Sea Witch to 1 for (Picked player)
Player - Limit training of Eis-Meister to 1 for (Picked player)
Player - Limit training of Ranger to 1 for (Picked player)
Player - Limit training of Obermagier to 1 for (Picked player)
Player - Limit training of Ritter to 1 for (Picked player)
Player - Limit training of Beschützerin to 1 for (Picked player)
Player - Limit training of Plünderer to 1 for (Picked player)
Player - Limit training of Sukkubus to 1 for (Picked player)
Player - Limit training of Kriegslord to 1 for (Picked player)
Player - Limit training of Mörder to 1 for (Picked player)
Player - Limit training of Plünderer to 1 for (Picked player)
Player - Limit training of Mur'gul Reaver to 5 for (Picked player)
Player - Limit training of Späher to 1 for (Picked player)
Player - Limit training of Naga-Tiefenmagierin to 1 for (Picked player)
Player - Limit training of Mur'gul-Wasserlord to 1 for (Picked player)
Player - Limit training of Makrura-Strandschleicher to 1 for (Picked player)
Eisvolk
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to Halle des Eises (Auswählen)
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Halle des Eises (Auswählen)
(Unit-type of (Picked unit)) Not equal to Energie-Turm
(Unit-type of (Picked unit)) Not equal to Menschen-Hafen
(Unit-type of (Picked unit)) Not equal to Orc-Hafen
(Unit-type of (Picked unit)) Not equal to Peasant
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Unit - Replace (Triggering unit) with a Halle des Eises using The new unit's max life and mana
Unit - Create 5 . Peasant for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Naga
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to Tempel der Gezeiten (Auswählen)
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Tempel der Gezeiten (Auswählen)
(Unit-type of (Picked unit)) Not equal to Energie-Turm
(Unit-type of (Picked unit)) Not equal to Menschen-Hafen
(Unit-type of (Picked unit)) Not equal to Orc-Hafen
(Unit-type of (Picked unit)) Not equal to Mur'gul Slave
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Unit - Replace (Triggering unit) with a Temple of Tides using The new unit's max life and mana
Unit - Create 5 . Mur'gul Slave for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Verdammnis
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to Bau des Wahnsinns (Auswählen)
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Bau des Wahnsinns (Auswählen)
(Unit-type of (Picked unit)) Not equal to Energie-Turm
(Unit-type of (Picked unit)) Not equal to Menschen-Hafen
(Unit-type of (Picked unit)) Not equal to Orc-Hafen
(Unit-type of (Picked unit)) Not equal to Beschwörer
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Unit - Replace (Triggering unit) with a Bau des Wahnsinns using The new unit's max life and mana
Unit - Create 5 . Beschwörer for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Zuflucht
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to Dorfhalle (Auswählen)
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Dorfhalle (Auswählen)
(Unit-type of (Picked unit)) Not equal to Energie-Turm
(Unit-type of (Picked unit)) Not equal to Menschen-Hafen
(Unit-type of (Picked unit)) Not equal to Orc-Hafen
(Unit-type of (Picked unit)) Not equal to Arbeiter
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Do nothing
Unit - Replace (Triggering unit) with a Dorfhalle using The new unit's max life and mana
Unit - Create 5 . Arbeiter for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Wait 1.50 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Last replaced unit)) of type Roboter-Goblin) and do (Actions)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.