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
Defense the town hall.w3x
Variables
Initialisierung
Nahkampf-Initialisierung
Hero choosing
Player1
Gold player1
Zeit Gold
Units
Ecke1
Ecke2
order to gebiet player2
Initialisierung
Hilfstext
Bestenliste
Kills Rot
Rips Rot
Kills Blau
Rips Blau
Player2
Gold player2
Zeit Gold Player2
Units Player2
Ecke4 player2
Ecke2 player2
order to gebiet player1
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
Bestenliste
leaderboard
No
Kills_Blau
integer
No
Kills_Rot
integer
No
Rips_Blau
integer
No
Rips_Rot
integer
No
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
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 - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Hero choosing
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Hero - Create Boots of Speed and give it to (Sold unit)
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)
Camera - Pan camera for Player 1 (Red) to (Center of Irwisch_zerstoeren_player1 <gen>) over 0 seconds
Camera - Pan camera for Player 2 (Blue) to (Center of irwisch_zerstoeren_player2 <gen>) over 0.00 seconds
Gold player1
Events
Map initialization
Conditions
Actions
Player - Turn Gives bounty On for Player 1 (Red)
Zeit Gold
Events
Time - Every 9.00 seconds of game time
Conditions
Actions
Player - Add 9 to Player 1 (Red) . Current gold
Units
Events
Unit - A unit Sells a unit
Unit - A unit enters Units_Player1 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke1 <gen>)
Ecke1
Events
Unit - A unit enters Ecke1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke2 <gen>)
Ecke2
Events
Unit - A unit enters Ecke2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke4 <gen>)
order to gebiet player2
Events
Unit - A unit enters Ecke4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Spieler2Base <gen>)
Hilfstext
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Welcome to Defense the town hall.Dont forget to choose an hero. Buy units in the Mercenary Camp to destroy the enemy town hall.Gl&Hf
Trigger - Turn off (This trigger)
Bestenliste
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Defense the Town hall
Set Variable Set Bestenliste = (Last created leaderboard)
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Kills Player1: and value 0
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label Kills Player2: and value 0
Leaderboard - Show (Last created leaderboard)
Kills Rot
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and ((Owner of (Killing unit)) Equal to Player 1 (Red))
Actions
Player - Add 1 to Player 1 (Red) . Current lumber
Set Variable Set Kills_Rot = (Kills_Rot + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Kills_Rot
Rips Rot
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and ((Owner of (Triggering unit)) Equal to Player 1 (Red))
Actions
Player - Add -1 to Player 1 (Red) . Current lumber
Set Variable Set Rips_Rot = (Rips_Rot + 1)
Kills Blau
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and ((Owner of (Killing unit)) Equal to Player 2 (Blue))
Actions
Player - Add 1 to Player 2 (Blue) . Current lumber
Set Variable Set Kills_Blau = (Kills_Blau + 1)
Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to Kills_Blau
Rips Blau
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and ((Owner of (Triggering unit)) Equal to Player 2 (Blue))
Actions
Player - Add -1 to Player 2 (Blue) . Current lumber
Set Variable Set Rips_Blau = (Rips_Blau + 1)
Gold player2
Events
Map initialization
Conditions
Actions
Player - Turn Gives bounty On for Player 2 (Blue)
Zeit Gold Player2
Events
Time - Every 9.00 seconds of game time
Conditions
Actions
Player - Add 9 to Player 2 (Blue) . Current gold
Units Player2
Events
Unit - A unit Sells a unit
Unit - A unit enters Units_Player2 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke4 <gen>)
Ecke4 player2
Events
Unit - A unit enters Ecke4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke2 <gen>)
Ecke2 player2
Events
Unit - A unit enters Ecke2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Ecke1 <gen>)
order to gebiet player1
Events
Unit - A unit enters Ecke1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Spieler1Base <gen>)
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.