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
FrostbitFINAL.w3x
Variables
Initialization
VizZ
FroStBite
FrEeZe Em
Rfresh units
nice and clean
every5
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
FrostBiteCaster
unit
No
PointOfFrostBite
location
No
specialeffectarray
effect
Yes
UnitsEffectedByfrost
group
No
x
integer
No
VizZ
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
FrEeZe Em
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to FrosTbITe
Actions
Set Variable Set FrostBiteCaster = (Casting unit)
Set Variable Set PointOfFrostBite = (Target point of ability being cast)
Set Variable Set UnitsEffectedByfrost = (Units in (Region centered at PointOfFrostBite with size (400.00, 900.00)) matching ((((Matching unit) has buff ICeColdWater) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of FrostBiteCaster).) Equal to True)))
Set Variable Set x = "0"
Unit Group - Pick every unit in UnitsEffectedByfrost and do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
Set Variable Set x = (x + 1)
Set Variable Set specialeffectarray[x] = (Last created special effect)
Unit Group - Pick every unit in UnitsEffectedByfrost and do (Pause (Picked unit))
Unit Group - Pick every unit in UnitsEffectedByfrost and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
Wait 7.00 seconds
Unit Group - Pick every unit in UnitsEffectedByfrost and do (Change (Picked unit)'s animation speed to 100.00% of its original speed)
Unit Group - Pick every unit in UnitsEffectedByfrost and do (Unpause (Picked unit))
For each (Integer A) from 1 to x , do (Actions)
Loop - Actions
Special Effect - Destroy specialeffectarray[(Integer A)]
nice and clean
Events
Player - Player 1 (Red) types a chat message containing -units (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 20 . Peasant for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Set mana of FrostBiteCaster to 1000.00
every5
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: Type -units to spawn units and set your heros mana to 1000
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.