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
La Guerre du Mal 1.0.w3x
Variables
initialisation
ini
leave
death tower
bois
assaut
auto troops
cible 1
cible 2
condition
win 2
win 1
resurection
resurection equipe 1
resurection equipe 2
construction
machine de geurre 1
machine de geurre 2
Entrez le code script personnalisé spécifique à la carte ci-dessous. Ce texte sera inclus dans le script de la carte après que les variables auront été déclarées et avant tout code de déclencheur.
Name
Type
is_array
initial_value
apocalypse
timer
Yes
score
leaderboard
No
ini
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Set (Picked player).Food cap to 30)
Player - Set name of Player 9 (Gray) to Equipe 1
Player - Set name of Player 10 (Light Blue) to Equipe 2
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Create 1.Constructor for (Picked player) at (Center of equipe_1 <gen>) facing Default building facing degrees)
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Playable map area))
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Create 1.Constructor for (Picked player) at (Center of equipe_2 <gen>) facing Default building facing degrees)
Wait 0.01 seconds
Unit Group - Pick every unit in (Units owned by Player 9 (Gray) of type Constructor) and do (Remove (Picked unit) from the game)
Unit Group - Pick every unit in (Units owned by Player 10 (Light Blue) of type Constructor) and do (Remove (Picked unit) from the game)
leave
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + a quitté la partie !)
death tower
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A structure) Equal to True
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Special Effect - Create a special effect at (Position of (Dying unit)) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
bois
Events
Time - Every 3.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Add 1 to (Picked player).Current lumber)
auto troops
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Tour du Fantassin) and do (Order (Picked unit) to train/upgrade to a Footman)
Unit Group - Pick every unit in (Units of type Fortress) and do (Order (Picked unit) to train/upgrade to a Tauren)
Unit Group - Pick every unit in (Units of type Spirit Lodge) and do (Order (Picked unit) to train/upgrade to a Priest)
Unit Group - Pick every unit in (Units of type Base Militaire) and do (Order (Picked unit) to train/upgrade to a Soldat)
Unit Group - Pick every unit in (Units of type Bunker Militaire) and do (Order (Picked unit) to train/upgrade to a Unité d'Assaut)
cible 1
Events
Unit - A unit owned by Player 1 (Red) . Finishes training a unit
Unit - A unit owned by Player 2 (Blue) . Finishes training a unit
Unit - A unit owned by Player 3 (Teal) . Finishes training a unit
Unit - A unit owned by Player 4 (Purple) . Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Not equal to Peon
(Unit-type of (Trained unit)) Not equal to Acolyte
Actions
Unit - Change ownership of (Trained unit) to Player 9 (Gray) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Center of equipe_2 <gen>)
cible 2
Events
Unit - A unit owned by Player 5 (Yellow) . Finishes training a unit
Unit - A unit owned by Player 6 (Orange) . Finishes training a unit
Unit - A unit owned by Player 7 (Green) . Finishes training a unit
Unit - A unit owned by Player 8 (Pink) . Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Not equal to Acolyte
(Unit-type of (Trained unit)) Not equal to Peon
Actions
Unit - Change ownership of (Trained unit) to Player 10 (Light Blue) and Retain color
Unit - Order (Trained unit) to Attack-Move To . (Center of equipe_1 <gen>)
win 2
Events
Unit - Chambre des Arcanes 0011 <gen> Dies
Conditions
Actions
Wait 2 seconds
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Defeat (Picked player) with the message: Victoire de l'équipe 2 !)
win 1
Events
Unit - Chambre des Arcanes 0010 <gen> Dies
Conditions
Actions
Wait 2 seconds
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Defeat (Picked player) with the message: Victoire de l'équipe 1 !)
resurection equipe 1
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Constructor
Actions
Game - Display to (All players) the text: ((Le Constructor de + (Name of (Triggering player))) + est mort !)
Wait 50.00 seconds
Unit - Create 1 . Constructor for (Triggering player) at (Center of equipe_1 <gen>) facing Default building facing degrees
resurection equipe 2
Events
Unit - A unit owned by Player 5 (Yellow) . Dies
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Constructor
Actions
Game - Display to (All players) the text: ((Le Constructor de + (Name of (Triggering player))) + est mort !)
Wait 50.00 seconds
Unit - Create 1 . Constructor for (Triggering player) at (Center of equipe_2 <gen>) facing Default building facing degrees
machine de geurre 1
Events
Unit - A unit owned by Player 1 (Red) . Finishes construction
Unit - A unit owned by Player 2 (Blue) . Finishes construction
Unit - A unit owned by Player 3 (Teal) . Finishes construction
Unit - A unit owned by Player 4 (Purple) . Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Machine de Guerre
Actions
Unit - Remove (Constructed structure) from the game
Unit - Create 1 . Machine de Guerre for Player 9 (Gray) at (Position of (Constructed structure)) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . (Center of equipe_2 <gen>)
machine de geurre 2
Events
Unit - A unit owned by Player 5 (Yellow) . Finishes construction
Unit - A unit owned by Player 6 (Orange) . Finishes construction
Unit - A unit owned by Player 7 (Green) . Finishes construction
Unit - A unit owned by Player 8 (Pink) . Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Machine de Guerre
Actions
Unit - Remove (Constructed structure) from the game
Unit - Create 1 . Machine de Guerre for Player 10 (Light Blue) at (Position of (Constructed structure)) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . (Center of equipe_1 <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.