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
Representative Battle.w3x
Variables
The Final Map Init and System
Camera
Camera Reset
Annoyers Die
Computers
Pet Shop1
Pet Shop2
Pet Shop3
Defeat
Player1
Player2
Player3
Player4
Player5
Player6
Ablities
Goblin Punch
Mace Smack
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
GoblinCaster
unit
No
GoblinTarget
unit
No
MistuartCaster
unit
No
MistuartTarget
unit
No
PetV1
unitcode
Yes
PetV2
unitcode
Yes
PetV3
unitcode
Yes
UnitAnnoyer
unitcode
Yes
Camera
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 1000
Player Group - Pick every player in Player Group - Player 4 (Purple) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 1000
Sound - Play PH1 <gen>
Camera - Set Player 1 (Red) 's camera Field of view to 1000.00 over 0.00 seconds
Camera - Set Player 2 (Blue) 's camera Field of view to 1000.00 over 0.00 seconds
Camera - Set Player 3 (Teal) 's camera Field of view to 1000.00 over 0.00 seconds
Camera - Set Player 4 (Purple) 's camera Field of view to 1000.00 over 0.00 seconds
Camera - Set Player 5 (Yellow) 's camera Field of view to 1000.00 over 0.00 seconds
Camera - Set Player 6 (Orange) 's camera Field of view to 1000.00 over 0.00 seconds
Set Variable Set UnitAnnoyer[1] = "e000"
Set Variable Set UnitAnnoyer[2] = "e001"
Set Variable Set UnitAnnoyer[3] = "e002"
Set Variable Set UnitAnnoyer[4] = "e003"
Set Variable Set PetV1[1] = "h006"
Set Variable Set PetV1[2] = "h007"
Set Variable Set PetV2[1] = "h008"
Set Variable Set PetV2[2] = "h009"
Set Variable Set PetV3[1] = "h00A"
Set Variable Set PetV3[2] = "h00B"
Game - Display to (All players) the text: Game will start in 5 sec.
Unit - Pause all units
Wait 4.00 seconds
Game - Display to (All players) the text: Prove that youre stronger!
Wait 1.00 seconds
Unit - Unpause all units
Game - Display to (All players) the text: Begin!!
Wait 1.00 seconds
Game - Display to (All players) the text: To reset the camera, press the left arrow key.
Wait 5.00 seconds
Game - Display to (All players) the text: Credits to the creator of HellGate.mdx
Camera Reset
Events
Player - Player 1 (Red) Presses the Left Arrow key
Player - Player 2 (Blue) Presses the Left Arrow key
Player - Player 3 (Teal) Presses the Left Arrow key
Player - Player 4 (Purple) Presses the Left Arrow key
Player - Player 5 (Yellow) Presses the Left Arrow key
Player - Player 6 (Orange) Presses the Left Arrow key
Conditions
Actions
Camera - Set (Triggering player) 's camera Field of view to 1000.00 over 0.00 seconds
Annoyers Die
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
Wait 20.00 seconds
Unit - Create 1 UnitAnnoyer[(Random integer number between 1 and 4)] for Neutral Hostile at (Position of (Dying unit)) facing (Position of (Dying unit))
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Special Effect - Destroy (Last created special effect)
Computers
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players controlled by a Computer player) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player).) and do (Order (Picked unit) to Attack-Move To.(Random point in Map <gen>))
Pet Shop1
Events
Unit - A unit comes within 600.00 of Monster Camp I 0027 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) controller) Equal to Computer
(Random integer number between 1 and 50) Less than 20
Then - Actions
Unit - Create 1 PetV1[(Random integer number between 1 and 2)] for (Owner of (Triggering unit)) at (Center of PetShop1 <gen>) facing (Position of Monster Camp I 0027 <gen>)
Player - Add (-1 x (Point-value of PetV1[(Random integer number between 1 and 2)])) to (Owner of (Triggering unit)) . Current gold
Else - Actions
Pet Shop2
Events
Unit - A unit comes within 600.00 of Monster Camp II 0029 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) controller) Equal to Computer
(Random integer number between 1 and 50) Less than 20
Then - Actions
Unit - Create 1 PetV2[(Random integer number between 1 and 2)] for (Owner of (Triggering unit)) at (Center of PetShop2 <gen>) facing (Position of Monster Camp II 0029 <gen>)
Player - Add (-1 x (Point-value of PetV2[(Random integer number between 1 and 2)])) to (Owner of (Triggering unit)) . Current gold
Else - Actions
Pet Shop3
Events
Unit - A unit comes within 600.00 of Monster Camp III 0030 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) controller) Equal to Computer
(Random integer number between 1 and 50) Less than 20
Then - Actions
Unit - Create 1 PetV3[(Random integer number between 1 and 2)] for (Owner of (Triggering unit)) at (Center of PetShop3 <gen>) facing (Position of Monster Camp III 0030 <gen>)
Player - Add (-1 x (Point-value of PetV3[(Random integer number between 1 and 2)])) to (Owner of (Triggering unit)) . Current gold
Else - Actions
Player1
Events
Unit - Balow 0000 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Player2
Events
Unit - Uther 0001 <gen> Dies
Conditions
Actions
Game - Defeat Player 2 (Blue) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Player3
Events
Unit - Pooh 0003 <gen> Dies
Conditions
Actions
Game - Defeat Player 3 (Teal) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Player4
Events
Unit - Kahn 0019 <gen> Dies
Conditions
Actions
Game - Defeat Player 4 (Purple) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Player5
Events
Unit - Can 0020 <gen> Dies
Conditions
Actions
Game - Defeat Player 5 (Yellow) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Player6
Events
Unit - Seraphim 0021 <gen> Dies
Conditions
Actions
Game - Defeat Player 6 (Orange) with the message: Your Representative has been killed!
Game - Display to (All players) the text: ((Name of (Dying unit)) + ( has been killed + (by + ((Name of (Killing unit)) + , May he rest in peace.))))
Goblin Punch
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Goblin Punch
Actions
Set Variable Set GoblinCaster = (Casting unit)
Set Variable Set GoblinTarget = (Target unit of ability being cast)
Special Effect - Create a special effect at (Position of GoblinTarget) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of GoblinTarget) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of GoblinTarget) using Abilities\Spells\Human\StormBolt\StormBoltMissile.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause GoblinCaster to damage GoblinTarget , dealing ((Max life of GoblinCaster) - (Life of GoblinCaster)) damage of attack type Hero and damage type Force
Mace Smack
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mace Smack
Actions
Set Variable Set MistuartCaster = (Casting unit)
Set Variable Set MistuartTarget = (Target unit of ability being cast)
Special Effect - Create a special effect at (Position of MistuartTarget) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of MistuartTarget) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of MistuartTarget) using war3mapImported\HelGate.mdx
Special Effect - Destroy (Last created special effect)
Unit - Cause MistuartCaster to damage MistuartTarget , dealing (Real(((Number of living Mistuart units owned by (Owner of MistuartCaster)) x 100))) damage of attack type Hero and damage type Force
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.