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
Hunt Gold Mine by Gelo Pro.w3x
Variables
Initialization
P1 Finish
P2Finish
P3 Finish
P4 Finish
Units Trained
Limited Train
Gold Produced
Map Initialization
Tutorials
Tutorial P1
Tutorial P2
Tutorial P3
Tutorial P4
Turn Off Tutorial
Items
Ghouls Claw
Zombies Eye
Book of the Necromancer
Massive Ruin
Ability
Hunt Gold Mine
Finish Hunting Gold Mine
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
SummonOwnership
ordercode
No
P1 Finish
Events
Unit - A unit Uses an item
Conditions
(Owner of (Hero manipulating item)) Equal to Player 1 (Red)
(Item-type of (Item being manipulated)) Equal to Medallion of Victory
Actions
Unit - Pause all units
Sound - Play AutoCastButtonClick1 <gen>
Sound - Stop music After fading
Sound - Stop the currently playing music theme
Sound - Play HeroicVictory01 <gen>
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using war3mapImported\NuclearExplosion.mdx
Game - Display to (All players) the text: ((Name of (Owner of (Hero manipulating item))) + Congratulations for winning the game. You may now claim victory!)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl
Wait 5.00 seconds
Game - Display to (All players) the text: |cffffcc00The Game will end in 30 seconds|r
Wait 30.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
P2Finish
Events
Unit - A unit Acquires an item
Conditions
(Owner of (Hero manipulating item)) Equal to Player 2 (Blue)
(Item-type of (Item being manipulated)) Equal to Medallion of Victory
Actions
Sound - Play AutoCastButtonClick1 <gen>
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
P3 Finish
Events
Unit - A unit Acquires an item
Conditions
(Owner of (Hero manipulating item)) Equal to Player 3 (Teal)
(Item-type of (Item being manipulated)) Equal to Medallion of Victory
Actions
Sound - Play AutoCastButtonClick1 <gen>
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
P4 Finish
Events
Unit - A unit Acquires an item
Conditions
(Owner of (Hero manipulating item)) Equal to Player 4 (Purple)
(Item-type of (Item being manipulated)) Equal to Medallion of Victory
Actions
Sound - Play AutoCastButtonClick1 <gen>
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Units Trained
Events
Map initialization
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Ghoul units owned by Player 1 (Red)) Equal to 3
(Number of living Ghoul units owned by Player 1 (Red)) Equal to 3
(Number of living Necromancer units owned by Player 1 (Red)) Equal to 3
(Number of living Zombie units owned by Player 1 (Red)) Equal to 3
(Number of living Sky Barge units owned by Player 2 (Blue)) Equal to 3
(Number of living Necromancer units owned by Player 2 (Blue)) Equal to 3
(Number of living Zombie units owned by Player 2 (Blue)) Equal to 3
(Number of living Sky Barge units owned by Player 2 (Blue)) Equal to 3
(Number of living Ghoul units owned by Player 3 (Teal)) Equal to 3
(Number of living Necromancer units owned by Player 3 (Teal)) Equal to 3
(Number of living Zombie units owned by Player 3 (Teal)) Equal to 3
(Number of living Sky Barge units owned by Player 3 (Teal)) Equal to 3
(Number of living Ghoul units owned by Player 4 (Purple)) Equal to 3
(Number of living Necromancer units owned by Player 4 (Purple)) Equal to 3
(Number of living Zombie units owned by Player 4 (Purple)) Equal to 3
(Number of living Sky Barge units owned by Player 4 (Purple)) Equal to 3
Then - Actions
Trigger - Turn off Limited_Train <gen>
Wait 30.00 seconds
Trigger - Turn on Limited_Train <gen>
Else - Actions
Trigger - Turn off Limited_Train <gen>
Wait 30.00 seconds
Trigger - Turn on Limited_Train <gen>
Limited Train
Events
Map initialization
Conditions
Actions
Player - Limit training of Ghoul to 10 for Player 1 (Red)
Player - Limit training of Ghoul to 10 for Player 2 (Blue)
Player - Limit training of Ghoul to 10 for Player 3 (Teal)
Player - Limit training of Ghoul to 10 for Player 4 (Purple)
Player - Limit training of Zombie to 7 for Player 1 (Red)
Player - Limit training of Zombie to 7 for Player 2 (Blue)
Player - Limit training of Zombie to 7 for Player 3 (Teal)
Player - Limit training of Zombie to 7 for Player 4 (Purple)
Player - Limit training of Sky Barge to 3 for Player 1 (Red)
Player - Limit training of Sky Barge to 3 for Player 2 (Blue)
Player - Limit training of Sky Barge to 3 for Player 3 (Teal)
Player - Limit training of Sky Barge to 3 for Player 4 (Purple)
Player - Limit training of Necromancer to 5 for Player 1 (Red)
Player - Limit training of Necromancer to 5 for Player 2 (Blue)
Player - Limit training of Necromancer to 5 for Player 3 (Teal)
Player - Limit training of Necromancer to 5 for Player 4 (Purple)
Gold Produced
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Add 5 to Player 1 (Red) . Current gold
Player - Add 5 to Player 2 (Blue) . Current gold
Player - Add 5 to Player 3 (Teal) . Current gold
Player - Add 5 to Player 4 (Purple) . Current gold
Default melee game initialization for all players
Map Initialization
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Food cap to 1
Player - Set Player 2 (Blue) . Food cap to 1
Player - Set Player 3 (Teal) . Food cap to 1
Player - Set Player 4 (Purple) . Food cap to 1
Player - Set Player 1 (Red) . Current gold to 5000
Player - Set Player 1 (Red) . Current lumber to 750
Player - Set Player 2 (Blue) . Current gold to 5000
Player - Set Player 2 (Blue) . Current lumber to 750
Player - Set Player 3 (Teal) . Current gold to 5000
Player - Set Player 3 (Teal) . Current lumber to 750
Player - Set Player 4 (Purple) . Current gold to 5000
Player - Set Player 4 (Purple) . Current lumber to 750
Game - Display to (All players) the text: If you need Tutorial! Just type /tutorial
Camera - . Apply . gg_cam_Camera_P1 for Player 1 (Red) over 0 seconds
Camera - . Apply . gg_cam_Camera_P2 for Player 2 (Blue) over 0 seconds
Camera - . Apply . gg_cam_Camera_P3 for Player 3 (Teal) over 0 seconds
Camera - . Apply . gg_cam_Camera_P4 for Player 4 (Purple) over 0 seconds
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 - Remove creeps and critters from used start locations (for all players)
Quest - Create a Required quest titled Hunt Gold Mine with the description |cffffcc00Hunt Gold Mine|r - is to summon Hunted Gold Mine to a gold mine and wait for 100 seconds until you claim your Gold Mine. , using icon path ReplaceableTextures\CommandButtons\BTNGoldMine.blp
Quest - Create a Required quest titled Warning Hunt with the description |cffffcc00Warning Hunt|r - be carefull to hunt a gold mine! cause players will alert and ambush you. If you failed to hunt a gold. The timer of targeted gold mine will stop. , using icon path ReplaceableTextures\CommandButtons\BTNTheBlackArrow.blp
Quest - Create a Required quest titled Special Thanks to with the description |cffffcc00Special Thanks to:|r -J-Poes = Testing-Blizzard Entertainment = Map-General Silento = Test Function & Triggers-Blaze121 = Playing , using icon path ReplaceableTextures\CommandButtons\BTNScrollOfTownPortal.blp
Quest - Create a Required quest titled How to win with the description |cffffcc00How to win:|r - Claim the item named (Medal of Victory) can purchase on Tomb of Relics and gold cost is 7000. Player that buys the item will claim Victory. , using icon path ReplaceableTextures\CommandButtons\BTNMedalionOfCourage.blp
Tutorial P1
Events
Player - Player 1 (Red) types a chat message containing /tutorial (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Wait 2.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 1 (Red) the text: |cffffcc00Tutorial 1:|r Order the Hunters Hall to train Hunters to hunt gold mines.
Wait 10.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 1 (Red) the text: |cffffcc00Tutorial 2:|r If your Hunters Hall has finished training of Hunter. You can order him to build buildings and usable to hunt gold mines to win.
Wait 20.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 1 (Red) the text: |cffffcc00Tutorial 3:|r Now it's time to train a Ghoul for the base protection and can attack other base and Hunted Gold Mine to disable the gold produces.
Wait 15.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 1 (Red) the text: |cffffcc00Tutorial 4:|r If you summon now the Altar of Darkness you can summon heroes per limit of a Town Hall.
Tutorial P2
Events
Player - Player 2 (Blue) types a chat message containing /tutorial (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Wait 2.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 2 (Blue) the text: |cffffcc00Tutorial 1:|r Order the Hunters Hall to train Hunters to hunt gold mines.
Wait 10.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 2 (Blue) the text: |cffffcc00Tutorial 2:|r If your Hunters Hall has finished training of Hunter. You can order him to build buildings and usable to hunt gold mines to win.
Wait 20.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 2 (Blue) the text: |cffffcc00Tutorial 3:|r Now it's time to train a Ghoul for the base protection and can attack other base and Hunted Gold Mine to disable the gold produces.
Wait 15.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 2 (Blue) the text: |cffffcc00Tutorial 4:|r If you summon now the Altar of Darkness you can summon heroes per limit of a Town Hall.
Tutorial P3
Events
Player - Player 3 (Teal) types a chat message containing /tutorial (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Wait 2.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 3 (Teal) the text: |cffffcc00Tutorial 1:|r Order the Hunters Hall to train Hunters to hunt gold mines.
Wait 10.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 3 (Teal) the text: |cffffcc00Tutorial 2:|r If your Hunters Hall has finished training of Hunter. You can order him to build buildings and usable to hunt gold mines to win.
Wait 20.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 3 (Teal) the text: |cffffcc00Tutorial 3:|r Now it's time to train a Ghoul for the base protection and can attack other base and Hunted Gold Mine to disable the gold produces.
Wait 15.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 3 (Teal) the text: |cffffcc00Tutorial 4:|r If you summon now the Altar of Darkness you can summon heroes per limit of a Town Hall.
Tutorial P4
Events
Player - Player 4 (Purple) types a chat message containing /tutorial (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Wait 2.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 4 (Purple) the text: |cffffcc00Tutorial 1:|r Order the Hunters Hall to train Hunters to hunt gold mines.
Wait 10.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 4 (Purple) the text: |cffffcc00Tutorial 2:|r If your Hunters Hall has finished training of Hunter. You can order him to build buildings and usable to hunt gold mines to win.
Wait 20.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 4 (Purple) the text: |cffffcc00Tutorial 3:|r Now it's time to train a Ghoul for the base protection and can attack other base and Hunted Gold Mine to disable the gold produces.
Wait 15.00 seconds
Sound - Play SecretFound <gen>
Game - Display to Player Group - Player 4 (Purple) the text: |cffffcc00Tutorial 4:|r If you summon now the Altar of Darkness you can summon heroes per limit of a Town Hall.
Turn Off Tutorial
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Sound - Play Warning <gen>
Game - Display to (All players) the text: |cffffcc00Tutorial Command|r has been disabled.
Trigger - Turn off Tutorial_P1 <gen>
Trigger - Turn off Tutorial_P2 <gen>
Trigger - Turn off Tutorial_P3 <gen>
Trigger - Turn off Tutorial_P4 <gen>
Ghouls Claw
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Triggering unit)) Not equal to Ghoul
(Item-type of (Item being manipulated)) Equal to Ghoul's Claw
Actions
Item - Move (Item being manipulated) to (Position of (Triggering unit))
Zombies Eye
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Triggering unit)) Not equal to Zombie
(Item-type of (Item being manipulated)) Equal to Zombies Eye
Actions
Item - Move (Item being manipulated) to (Position of (Triggering unit))
Book of the Necromancer
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Triggering unit)) Not equal to Necromancer
(Item-type of (Item being manipulated)) Equal to Book of the Neromancer
Actions
Item - Move (Item being manipulated) to (Position of (Triggering unit))
Massive Ruin
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Triggering unit)) Not equal to Sky Barge
(Item-type of (Item being manipulated)) Equal to Massive Ruin
Actions
Item - Move (Item being manipulated) to (Position of (Triggering unit))
Hunt Gold Mine
Events
Unit - A unit Begins construction
Conditions
(Unit-type of (Constructing structure)) Equal to Haunted Gold Mine
Actions
Sound - Play Warning <gen>
Game - Display to (All players) the text: A player begins hunting a |cffffcc00Gold Mine|r
Cinematic - Ping minimap for (All players) at (Position of (Constructing structure)) for 10.00 seconds
Unit - Set Rally-Point for Shrine of the Gold Mines 0001 <gen> to (Constructing structure)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Shrine of the Gold Mines 0001 <gen> using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
Lightning - Create a Drain lightning effect from source (Position of Shrine of the Gold Mines 0001 <gen>) to target (Position of (Constructing structure))
Wait 5.00 seconds
Lightning - Change color of (Last created lightning effect) to ( 100.00 0.00 0.00 ) with 1 alpha
Wait 2.00 seconds
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Wait 5.00 seconds
Unit - Create 1 . Burning Archer for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Wait 7.00 seconds
Unit - Create 1 . Giant Skeleton Warrior for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Wait 14.00 seconds
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Unit - Create 1 . Giant Skeleton Warrior for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Unit - Create 2 . Burning Archer for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Position of (Constructing structure)) facing (Random real number between 50.00 and 250.00) degrees
Finish Hunting Gold Mine
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to Haunted Gold Mine
Actions
Lightning - Destroy (Last created lightning effect)
Special Effect - Destroy (Last created special effect)
Cinematic - Ping minimap for (All players) at (Position of (Constructed structure)) for 10.00 seconds
Game - Display to (All players) the text: ((Name of (Owner of (Constructed structure))) + has finished hunting a gold mine)
Player - Add 1000 to (Owner of (Constructed structure)) . Current gold
Wait 5.00 seconds
Player - Add 500 to (Owner of (Constructed structure)) . Current gold
Wait 5.00 seconds
Player - Add 5 to (Owner of (Constructed structure)) . Current gold
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.