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 on Strahnbrad V0.3b.w3x
Variables
Initialization
Initialization
Defeat of alliance
Defeat of Horde
Food caps
Orcs sighted
Levers
Part 1
Part 2
The tester secret
cheats
Blink for defenders
red
blue
teal
purple
Music
Music dialogs
Laugh
Credits
Storm earth and fire
Pursuit
Doom
only red may enter
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
Initialization
Events
Map initialization
Conditions
Actions
Destructible - Make City Entrance 0015 <gen> Invulnerable
Game - Display to (All players) for 60.00 seconds the text: MUSIC IN TOP LEFT ONLY REDS WISP CAN ENTER!!!Pick a hero from your altar!!!!Humans: look at the top rightOrcs: look at the bottom right
Visibility - Enable fog of war
Visibility - Enable black mask
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across sight_part_1 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across sight_part_2 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across sight_part_3 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across sight_part_4 <gen>
Player Group - Pick every player in Player Group - Player 5 (Yellow) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across sight_part_5 <gen>
Wait 4.00 seconds
Game - Display to Player Group - Player 1 (Red) for 60.00 seconds the text: You must guard the portal for 20 minutes but dont forget the more default units the other team kills more likely the other team will advance more quickly
Game - Display to Player Group - Player 5 (Yellow) for 60.00 seconds the text: Quick! make units and keep charging at the castle get as far as you can! once you make it to the shimmering portal you win!
Defeat of alliance
Events
Unit - A unit enters End <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Swordsman
(Unit-type of (Triggering unit)) Not equal to Captain
(Unit-type of (Triggering unit)) Not equal to Archer
(Unit-type of (Triggering unit)) Not equal to Dark Ranger
(Unit-type of (Triggering unit)) Not equal to Paladin
(Unit-type of (Triggering unit)) Not equal to Archmage
(Unit-type of (Triggering unit)) Not equal to Mountain King
(Unit-type of (Triggering unit)) Not equal to Blood Mage
(Unit-type of (Triggering unit)) Not equal to Priestess of the Moon
(Unit-type of (Triggering unit)) Not equal to Demon Hunter
(Unit-type of (Triggering unit)) Not equal to Warden
(Unit-type of (Triggering unit)) Not equal to Demon Hunter (Evil)
Actions
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Defeat (Picked player) with the message: Defeat!)
Player Group - Pick every player in Player Group - Player 5 (Yellow) and do (Victory (Picked player) (Show dialogs, Show scores))
Defeat of Horde
Events
Time - Elapsed game time is 1200.00 seconds
Conditions
(Shimmering Portal 0014 <gen> is alive) Equal to True
Actions
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in Player Group - Player 5 (Yellow) and do (Defeat (Picked player) with the message: Defeat!)
Food caps
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 425)
Player Group - Pick every player in (All players) and do (Set (Picked player).Current lumber to 100)
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Set (Picked player).Food cap to 5)
Player Group - Pick every player in Player Group - Player 5 (Yellow) and do (Set (Picked player).Food cap to 45)
Orcs sighted
Events
Unit - A unit enters orcs_been_sighted <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Swordsman
(Unit-type of (Triggering unit)) Not equal to Captain
(Unit-type of (Triggering unit)) Not equal to Archer
(Unit-type of (Triggering unit)) Not equal to Dark Ranger
(Unit-type of (Triggering unit)) Not equal to Paladin
(Unit-type of (Triggering unit)) Not equal to Archmage
(Unit-type of (Triggering unit)) Not equal to Mountain King
(Unit-type of (Triggering unit)) Not equal to Blood Mage
(Unit-type of (Triggering unit)) Not equal to Priestess of the Moon
(Unit-type of (Triggering unit)) Not equal to Demon Hunter
(Unit-type of (Triggering unit)) Not equal to Warden
(Unit-type of (Triggering unit)) Not equal to Demon Hunter (Evil)
Actions
Game - Display to (All players) for 10.00 seconds the text: Orcs have been sighted! all men to their position!
Trigger - Turn off (This trigger)
Part 1
Events
Destructible - A destructible within Enter_part_1 <gen> dies
Conditions
Actions
Trigger - Turn on Part_2 <gen>
Part 2
Events
Destructible - A destructible within Enter_part_2 <gen> dies
Conditions
Actions
Destructible - Make City Entrance 0015 <gen> Vulnerable
Destructible - Kill City Entrance 0015 <gen>
cheats
Events
Player - Player 1 (Red) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to Goku3
Actions
Unit - Create 1 . Demon Hunter (Evil) for (Triggering player) at (Center of my_cheat_spawn <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching ((Unit-type of (Triggering unit)) Not equal to Altar).) and do (Actions)
Loop - Actions
Animation - Change (Picked unit) 's size to ( 150.00 %, 100 %, 100 %) of its original size
Hero - Create Goku3 and give it to (Picked unit)
Hero - Create Blinks dagger and give it to (Picked unit)
Unit - Make (Picked unit) Explode on death
Player - Set Player 1 (Red) . Current gold to 0
Player - Set Player 1 (Red) . Current lumber to 0
Player - Set Player 1 (Red) . Food used to 5
red
Events
Map initialization
Conditions
Actions
Wait 2 seconds
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching ((Unit-type of (Triggering unit)) Not equal to Altar).) and do (Actions)
Loop - Actions
Hero - Create Blinks dagger and give it to (Picked unit)
blue
Events
Map initialization
Conditions
Actions
Wait 2 seconds
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching ((Unit-type of (Triggering unit)) Not equal to Altar).) and do (Actions)
Loop - Actions
Hero - Create Blinks dagger and give it to (Picked unit)
teal
Events
Map initialization
Conditions
Actions
Wait 2 seconds
Unit Group - Pick every unit in (Units owned by Player 3 (Teal) matching ((Unit-type of (Triggering unit)) Not equal to Altar).) and do (Actions)
Loop - Actions
Hero - Create Blinks dagger and give it to (Picked unit)
purple
Events
Map initialization
Conditions
Actions
Wait 2 seconds
Unit Group - Pick every unit in (Units owned by Player 4 (Purple) matching ((Unit-type of (Triggering unit)) Not equal to Altar).) and do (Actions)
Loop - Actions
Hero - Create Blinks dagger and give it to (Picked unit)
Music dialogs
Events
Map initialization
Conditions
Actions
Floating Text - Create floating text that reads Freaky Laugh at (Center of Freaky_Laugh <gen>) with Z offset 0 , using font size 10.00 , color ( 100 %, 0.00 %, 0.00 %), and 0 % transparency
Floating Text - Create floating text that reads Storm Earth and Fire at (Center of Storm_Earth_and_Fire <gen>) with Z offset 0 , using font size 10 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Create floating text that reads Doom at (Center of Doom <gen>) with Z offset 0 , using font size 10 , color ( 0.00 %, 0.00 %, 100.00 %), and 0 % transparency
Floating Text - Create floating text that reads Pursuit at (Center of Pursuit <gen>) with Z offset 0 , using font size 10 , color ( 100.00 %, 100 %, 100.00 %), and 0 % transparency
Floating Text - Create floating text that reads Credits at (Center of Credits <gen>) with Z offset 0 , using font size 10 , color ( 0.00 %, 0.00 %, 0.00 %), and 0 % transparency
Laugh
Events
Unit - A unit enters Freaky_Laugh <gen>
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Sound - Clear the music list
Sound - Set Music to 100 %
Sound - Play O04Mannoroth38 <gen>
Credits
Events
Unit - A unit enters Credits <gen>
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Sound - Clear the music list
Sound - Set Music to 100 %
Sound - Play Credits <gen>
Storm earth and fire
Events
Unit - A unit enters Storm_Earth_and_Fire <gen>
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Sound - Clear the music list
Sound - Set Music to 100 %
Sound - Play PH1 <gen>
Pursuit
Events
Unit - A unit enters Pursuit <gen>
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Sound - Clear the music list
Sound - Set Music to 100 %
Sound - Play PursuitTheme <gen>
Doom
Events
Unit - A unit enters Doom <gen>
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Sound - Clear the music list
Sound - Set Music to 100 %
Sound - Play Doom <gen>
only red may enter
Events
Unit - A unit enters ONLY_RED <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Wisp
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.