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
2Crushma_Canyon.w3m
Variables
Initialization
Melee Initialization
Untitled Category
Untitled Trigger 001
TD shop L
TD shop R
RL gm L
RL gm R
TD gm L
TD gm R
RL eh L
RL eh R
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 except Custom Script Item. Custom Script Item will merge into map script after globals variables declaration with the list order in trigger view.
Name
Type
is_array
initial_value
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)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Untitled Trigger 001
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Destructible - Hide Tree Bridge 0304 <gen>
Destructible - Hide Tree Bridge 0232 <gen>
Destructible - Hide Tree Bridge 0230 <gen>
Destructible - Hide Tree Bridge 0324 <gen>
Destructible - Hide Tree Bridge 0960 <gen>
Destructible - Hide Tree Bridge 0646 <gen>
Destructible - Hide Tree Bridge 0024 <gen>
Destructible - Hide Tree Bridge 0026 <gen>
Destructible - Pick every destructible in (Playable map area) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Kill (Picked destructible)
Else - Actions
TD shop L
Events
Destructible - Barrel 0620 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0324 <gen>
Destructible - Hide Tree Bridge 1451 <gen>
Destructible - Kill Tree Bridge 0324 <gen>
Unit Group - Pick every unit in (Units in TD_shop <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in TD_shop <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
TD shop R
Events
Destructible - Barrel 1331 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0026 <gen>
Destructible - Hide Tree Bridge 1448 <gen>
Destructible - Kill Tree Bridge 0026 <gen>
Unit Group - Pick every unit in (Units in DT_shop <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in DT_shop <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
RL gm L
Events
Destructible - Barrel 0621 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0232 <gen>
Destructible - Hide Tree Bridge 1452 <gen>
Destructible - Kill Tree Bridge 0232 <gen>
Unit Group - Pick every unit in (Units in RL_gm_L <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in RL_gm_L <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
RL gm R
Events
Destructible - Barrel 0616 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0960 <gen>
Destructible - Hide Tree Bridge 1449 <gen>
Destructible - Kill Tree Bridge 0960 <gen>
Unit Group - Pick every unit in (Units in LR_gm_R <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in LR_gm_R <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
TD gm L
Events
Destructible - Barrel 1077 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0304 <gen>
Destructible - Hide Tree Bridge 1411 <gen>
Destructible - Kill Tree Bridge 0304 <gen>
Unit Group - Pick every unit in (Units in TD_gm_L <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in TD_gm_L <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
TD gm R
Events
Destructible - Barrel 0618 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0024 <gen>
Destructible - Hide Tree Bridge 1454 <gen>
Destructible - Kill Tree Bridge 0024 <gen>
Unit Group - Pick every unit in (Units in DT_gm_R <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in DT_gm_R <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
RL eh L
Events
Destructible - Barrel 0444 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0230 <gen>
Destructible - Hide Tree Bridge 1453 <gen>
Destructible - Kill Tree Bridge 0230 <gen>
Unit Group - Pick every unit in (Units in RL_L <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in RL_L <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
RL eh R
Events
Destructible - Barrel 0617 <gen> dies
Conditions
Actions
Destructible - Show Tree Bridge 0646 <gen>
Destructible - Hide Tree Bridge 1450 <gen>
Destructible - Kill Tree Bridge 0646 <gen>
Unit Group - Pick every unit in (Units in LR_R <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A ground unit) Equal to True
Then - Actions
Unit - Explode (Picked unit) .
Else - Actions
Destructible - Pick every destructible in LR_R <gen> and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Picked destructible)) Equal to OTip (Unexpected type: 'destructablecode')
Then - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
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.