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
(4)Swampling'sLullaby.w3x
Variables
Initialization
Melee Initialization
Credits
Swampling Movement
Swampling Too Far
Thunder On
Thunder
Roaming Thunder
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
Thunder
location
No
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)
Credits
Events
Conditions
Actions
-------- Trees - Eubz --------
-------- Bog Lord - FrIkY --------
-------- Grass - HappyTauren --------
Swampling Movement
Events
Time - Every (Random real number between 2.00 and 4.00) seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is alive) Equal to True
(Triggering unit) Not equal to (Attacked unit)
(Triggering unit) Not equal to (Attacking unit)
Then - Actions
Unit - Order Swampling 0023 <gen> to Attack-Move To . (Random point in Swampling <gen>)
Else - Actions
Do nothing
Swampling Too Far
Events
Unit - A unit leaves Swampling <gen>
Conditions
Actions
Unit - Order Swampling 0023 <gen> to Move To . (Random point in Swampling <gen>)
Thunder On
Events
Unit - Swampling 0023 <gen> Dies
Conditions
Actions
Trigger - Turn on Thunder <gen>
Trigger - Turn on Roaming_Thunder <gen>
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)
Environment - Turn (Last created weather effect) On
Thunder
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Set Variable Set Thunder = (Random point in (Playable map area))
Special Effect - Create a special effect at Thunder using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
Sound - Play LightningBolt <gen> at 100 % volume, located at Thunder with Z offset 0
Unit - Cause Swampling 0023 <gen> to damage circular area after 0 seconds of radius 250.00 at Thunder , dealing 450.00 damage of attack type Chaos and damage type Normal
Custom script: call RemoveLocation(udg_Thunder)
Roaming Thunder
Events
Time - Every (Random real number between 1.00 and 15.00) seconds of game time
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.