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
The Junle of Latvija (Melee).w3x
Variables
Intal
Melee
Creep Drop
Tree Seed
Tree Seed
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
Rescue
unit
No
Melee
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)
Creep Drop
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Permanent item-type) at (Position of (Dying unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Charged item-type) at (Position of (Dying unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Powerup item-type) at (Position of (Dying unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Purchasable item-type) at (Position of (Dying unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Miscellaneous item-type) at (Position of (Dying unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 50) Equal to 15
Then - Actions
Item - Create (Random level -1.Artifact item-type) at (Position of (Dying unit))
Else - Actions
Do nothing
Tree Seed
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Tree Seed
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Terrain type at (Target point of ability being cast)) Equal to Lordaeron Summer - Grass) or ((Terrain type at (Target point of ability being cast)) Equal to Lordaeron Summer - Dark Grass)
Then - Actions
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead LTlt (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Terrain type at (Target point of ability being cast)) Equal to Lordaeron Winter - Snow) or ((Terrain type at (Target point of ability being cast)) Equal to Lordaeron Winter - Snow Cliff)
Then - Actions
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Destructible - Create a dead NTtc (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 2)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Target point of ability being cast)) Equal to Barrens - Rough Dirt
Then - Actions
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead BTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Target point of ability being cast)) Equal to Lordaeron Summer - Grassy Dirt
Then - Actions
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Destructible - Create a dead OTtw (Unexpected type: 'destructablecode') at (Random point in (Region centered at (Target point of ability being cast) with size (350.00, 350.00))) facing (Random angle) with scale 1 and variation (Random integer number between 0 and 9)
Else - Actions
Do nothing
Destructible - Pick every destructible within 500.00 of (Target point of ability being cast) and do (Actions)
Loop - Actions
Destructible - Resurrect (Picked destructible) with (Max life of (Picked 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.