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
Line Creep Wars 0.82b.w3x
Variables
Initialization
Melee Initialization
Property Divide
SU
races
HU
OC
NE
NA
UD
Delete SU
Forager Hut
Income
Defend
DP1
DP2
DP3
DP4
Attack
AP1
AP2
AP3
AP4
Custom Spells
Chain Heal Storm
Curse of Death
Redemption 1
Redemption 2
Redemption 3
Creep Spawn
Creep Build 1
Creep Build 2
Lives
t1
t2
wl1
wl2
Sheep form
Sheep 1
Sheep 2
Multi Board
Untitled Trigger 001
Untitled Trigger 001 Copy
Start
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
L1
integer
No
50
L2
integer
No
50
Default melee game initialization for all players
Melee Initialization
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)
Player - Turn Gives bounty On for Player 11 (Dark Green)
Player - Turn Gives bounty On for Player 12 (Brown)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of Heroes to -1 for (Picked player)
Player - Limit training of Enchantress to 1 for (Picked player)
Player - Limit training of Warqueen to 1 for (Picked player)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (((Picked player) controller) Equal to User) then do (Set (Picked player).Current gold to 750) else do (Do nothing)
If (((Picked player) controller) Equal to User) then do (Set (Picked player).Current lumber to 750) else do (Do nothing)
Melee Game - Remove creeps and critters from used start locations (for all players)
Game - Display to (All players) for 20.00 seconds the text: Read the Quest Log to learn how to play this map and how to win! (And to learn that you dont want your hero to hit Jaina)
Quest - Create a Required quest titled Learn to Play or DIE with the description You really don't want your hero to hit Jaina, because every unit who hits her, will become an invulnerable sheep that provides food. At the scoreboard you can see how many lives your team has left. To win this map you send creeps created from the Dragon Roosts towards the enemy portal. Creeps are controlled by the computer player in your team, altho you still have to hire them at the dragon roosts. Different creeps have different abilities for example. skeletons have reincarnation while dark troll priests have heal. When your team's creeps reach the enemy portal you steal a life from them. When either team has run out of lives that team will loose. Each team has a Defender Beacon that is very useful: the Defend Ability is used from your tower by the portal when you use the ability all of your creeps will attack move towards that location. The Resume Attack ability is used for if u want your creeps to resume the attack against the portal. Also have'nt you thought already "What happens if i run out of trees!?!?!", the answer is your Forager Hut above/below Jaina can be upgraded to produce wood as a sort of income. Every 20 seconds all the money that the computer in your team has earned so far from bounty will be split and given to each player in his team. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled Credits with the description -Armel-Jigrael-Dan Van Ohllus-AnemicRoyalty-CoffinPuppet , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Property Divide
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players matching ((((Picked player) controller) Equal to User) and (((Picked player) is an ally of Player 11 (Dark Green).) Equal to True)).) and do (Actions)
Loop - Actions
Player - Add ((Player 11 (Dark Green) Current gold) / 2) to (Picked player) . Current gold
Player - Add ((Player 11 (Dark Green) Current lumber) / 2) to (Picked player) . Current lumber
Game - Display to (All allies of Player 11 (Dark Green).) for 20.00 seconds the text: (((String(((Player 11 (Dark Green) Current gold) / 2))) + |cffffcc00gold awarded|r) + )
Player - Set Player 11 (Dark Green) . Current gold to 0
Player - Set Player 11 (Dark Green) . Current lumber to 0
Player Group - Pick every player in (All players matching ((((Picked player) controller) Equal to User) and (((Picked player) is an ally of Player 12 (Brown).) Equal to True)).) and do (Actions)
Loop - Actions
Player - Add ((Player 12 (Brown) Current gold) / 2) to (Picked player) . Current gold
Player - Add ((Player 12 (Brown) Current lumber) / 2) to (Picked player) . Current lumber
Game - Display to (All allies of Player 12 (Brown).) for 20.00 seconds the text: (((String(((Player 12 (Brown) Current gold) / 2))) + |cffffcc00gold awarded|r) + )
Player - Set Player 12 (Brown) . Current gold to 0
Player - Set Player 12 (Brown) . Current lumber to 0
Wait 0.01 seconds
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 3 to |cffffcc00IncomeTeam1|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (String(((Player 11 (Dark Green) Current gold) / 2)))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 4 to |cffffcc00Income Team2|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (String(((Player 12 (Brown) Current gold) / 2)))
SU
Events
Unit - A unit Finishes an upgrade
Conditions
((Triggering unit) is A structure) Equal to True
Actions
Unit - Order (Triggering unit) to Orc Tauren Chieftain - War Stomp .
HU
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Summon HU (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Create 5 . Peasant for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
OC
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Summon OC (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Create 5 . Peon for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
NE
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Summon NE (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Create 5 . Wisp for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
NA
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Summon NA (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Create 5 . Mur'gul Slave for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
UD
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Summon UD (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Create 3 . Acolyte for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
Unit - Create 1 . Ghoul for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
Delete SU
Events
Unit - A unit Finishes casting an ability
Conditions
((Triggering unit) is A structure) Equal to True
Actions
Unit - Remove Summon HU (Neutral Hostile 1), (Neutral Hostile) from (Triggering unit)
Unit - Remove Summon NA (Neutral Hostile 1), (Neutral Hostile) from (Triggering unit)
Unit - Remove Summon NE (Neutral Hostile 1), (Neutral Hostile) from (Triggering unit)
Unit - Remove Summon OC (Neutral Hostile 1), (Neutral Hostile) from (Triggering unit)
Unit - Remove Summon UD (Neutral Hostile 1), (Neutral Hostile) from (Triggering unit)
Income
Events
Time - Every 4.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players controlled by a User player) and do (Add ((Current research level of R002 (Unexpected type: 'techcode') for (Picked player)) x 5) to (Picked player).Current lumber)
DP1
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Defend
((Triggering unit) is in (Units owned by Player 1 (Red).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Order (Picked unit) to Attack-Move To.(Position of Defend Beacon 0075 <gen>))
DP2
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Defend
((Triggering unit) is in (Units owned by Player 2 (Blue).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Order (Picked unit) to Attack-Move To.(Position of Defend Beacon 0074 <gen>))
DP3
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Defend
((Triggering unit) is in (Units owned by Player 3 (Teal).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Order (Picked unit) to Attack-Move To.(Position of Defend Beacon 0076 <gen>))
DP4
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Defend
((Triggering unit) is in (Units owned by Player 4 (Purple).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Order (Picked unit) to Attack-Move To.(Position of Defend Beacon 0077 <gen>))
AP1
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Attack (Neutral Hostile)
((Triggering unit) is in (Units owned by Player 1 (Red).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Order (Picked unit) to Attack-Move To.(Center of Target_Team_1 <gen>))
AP2
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Attack (Neutral Hostile)
((Triggering unit) is in (Units owned by Player 2 (Blue).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Order (Picked unit) to Attack-Move To.(Center of Target_Team_1 <gen>))
AP3
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Attack (Neutral Hostile)
((Triggering unit) is in (Units owned by Player 3 (Teal).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Order (Picked unit) to Attack-Move To.(Center of Target_Team_2 <gen>))
AP4
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Attack (Neutral Hostile)
((Triggering unit) is in (Units owned by Player 4 (Purple).).) Equal to True
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Order (Picked unit) to Attack-Move To.(Center of Target_Team_2 <gen>))
Chain Heal Storm
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Heal (Neutral Hostile 2)
Actions
Unit - Order (Triggering unit) to Orc Shadow Hunter - Healing Wave . (Target unit of ability being cast)
Curse of Death
Events
Unit - A unit Dies
Conditions
((Dying unit) has buff Black Arrow) Equal to True
Actions
Unit - Order (Summoned unit) to Follow . (Killing unit)
Redemption 1
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Redemption - 1) Equal to True
((Attacking unit) belongs to an ally of (Owner of (Triggering unit)).) Equal to False
Actions
Unit - Set life of (Attacking unit) to (4.00 + (Life of (Attacking unit)))
Floating Text - Create floating text that reads +4 above (Attacking unit) with Z offset ((Current flying height of (Attacking unit)) + ((Random real number between -2.00 and 2.00) + 50.00)) , using font size 10 , color ( 0.00 %, 100 %, 0.00 %), and 50.00 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Redemption 2
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Redemption - 2) Equal to True
((Attacking unit) belongs to an ally of (Owner of (Triggering unit)).) Equal to False
Actions
Unit - Set life of (Attacking unit) to (8.00 + (Life of (Attacking unit)))
Floating Text - Create floating text that reads +8 above (Attacking unit) with Z offset ((Current flying height of (Attacking unit)) + ((Random real number between -2.00 and 2.00) + 50.00)) , using font size 10 , color ( 0.00 %, 100 %, 0.00 %), and 50.00 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Redemption 3
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Redemption - 3) Equal to True
((Attacking unit) belongs to an ally of (Owner of (Triggering unit)).) Equal to False
Actions
Unit - Set life of (Attacking unit) to (12.00 + (Life of (Attacking unit)))
Floating Text - Create floating text that reads +12 above (Attacking unit) with Z offset ((Current flying height of (Attacking unit)) + ((Random real number between -2.00 and 2.00) + 50.00)) , using font size 10 , color ( 0.00 %, 100 %, 0.00 %), and 50.00 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Creep Build 1
Events
Unit - A unit enters Creep_build_Team_1 <gen>
Conditions
((Triggering unit) has buff Creep) Equal to True
Actions
Unit - Change ownership of (Triggering unit) to Player 11 (Dark Green) and Change color
Unit - Move (Triggering unit) instantly to (Center of Creeps_Spawn_Team_1 <gen>)
Unit - Order (Triggering unit) to Attack-Move To . (Center of Target_Team_1 <gen>)
Creep Build 2
Events
Unit - A unit enters Creep_build_Team_2 <gen>
Conditions
((Triggering unit) has buff Creep) Equal to True
Actions
Unit - Change ownership of (Triggering unit) to Player 12 (Brown) and Change color
Unit - Move (Triggering unit) instantly to (Center of Creeps_Spawn_Team_2 <gen>)
Unit - Order (Triggering unit) to Attack-Move To . (Center of Target_Team_2 <gen>)
t1
Events
Unit - A unit enters Target_Team_1 <gen>
Conditions
((Triggering unit) has buff Creep) Equal to True
((Triggering unit) belongs to an ally of Player 1 (Red).) Equal to True
Actions
Set Variable Set L1 = (L1 + 1)
Set Variable Set L2 = (L2 - 1)
Unit - Kill (Triggering unit)
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to (String(L1))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (String(L2))
t2
Events
Unit - A unit enters Target_Team_2 <gen>
Conditions
((Triggering unit) has buff Creep) Equal to True
((Triggering unit) belongs to an ally of Player 3 (Teal).) Equal to True
Actions
Set Variable Set L2 = (L2 + 1)
Set Variable Set L1 = (L1 - 1)
Unit - Kill (Triggering unit)
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to (String(L1))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (String(L2))
wl1
Events
Unit - A unit Dies
Conditions
L1 Less than or equal to 0
Actions
Game - Defeat Player 1 (Red) with the message: Nuubified
Game - Defeat Player 2 (Blue) with the message: Nuubified
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
wl2
Events
Unit - A unit Dies
Conditions
L2 Less than or equal to 0
Actions
Game - Defeat Player 3 (Teal) with the message: Nuubified
Game - Defeat Player 4 (Purple) with the message: Nuubified
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Sheep 1
Events
Unit - A unit Is attacked
Conditions
(Attacked unit) Equal to Archmage 0034 <gen>
Actions
Unit - Order Archmage 0034 <gen> to Human Sorceress - Polymorph . (Attacking unit)
Unit - Move (Attacking unit) instantly to (Center of Sheep_1 <gen>)
Unit - Replace (Attacking unit) with a Sheep using The new unit's default life and mana
Sheep 2
Events
Unit - A unit Is attacked
Conditions
(Attacked unit) Equal to Archmage 0035 <gen>
Actions
Unit - Order Archmage 0035 <gen> to Human Sorceress - Polymorph . (Attacking unit)
Unit - Move (Attacking unit) instantly to (Center of Sheep_2 <gen>)
Unit - Replace (Attacking unit) with a Sheep using The new unit's default life and mana
Untitled Trigger 001
Events
Unit - A unit owned by Player 11 (Dark Green) . Dies
Conditions
((Owner of (Killing unit)) Equal to Player 11 (Dark Green)) or ((Owner of (Killing unit)) Equal to Player 12 (Brown))
Actions
Wait 0.01 seconds
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 3 to |cffffcc00IncomeTeam1|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (String(((Player 11 (Dark Green) Current gold) / 2)))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 4 to |cffffcc00Income Team2|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (String(((Player 12 (Brown) Current gold) / 2)))
Untitled Trigger 001 Copy
Events
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
((Owner of (Killing unit)) Equal to Player 11 (Dark Green)) or ((Owner of (Killing unit)) Equal to Player 12 (Brown))
Actions
Wait 0.01 seconds
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 3 to |cffffcc00IncomeTeam1|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (String(((Player 11 (Dark Green) Current gold) / 2)))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 4 to |cffffcc00Income Team2|r
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (String(((Player 12 (Brown) Current gold) / 2)))
Start
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 2 columns and 4 rows, titled Lives Left .
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 0 to 7.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 0 to 10.00 % of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 0 , row 0 to Show text and Hide icons
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 1 to Team 1:
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 2 to Team 2:
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to (String(L1))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (String(L2))
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.