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
ward of helper.w3x
Variables
Readme!
documentation
ward of helper
ability cast
game init
heroWin
herolose
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
apointx
location
No
pointx
location
No
spirit
unit
No
Ward of helper --- made by the-rave
simple spell with simple trigger
to use it:
copy all trigger in ward of helper
copy all variable
copy the ability (ward of helper)
give credit to me if u use it
ability cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Ward of Helper
Actions
Custom script: local location udg_pointx
Set Variable Set pointx = (Target point of ability being cast)
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Unit - Create 1 Sight spirit (Level 1) for (Owner of (Triggering unit)) at (pointx offset by 256.00 towards (36.00 x (Real((Integer A)))) degrees.) facing pointx
Set Variable Set spirit = (Last created unit)
Set Variable Set apointx = (pointx offset by 2000.00 towards ((Real((Integer A))) x 36.00) degrees.)
Unit - Set spirit movement speed to 400.00
Unit - Order spirit to Move To . apointx
Unit - Add a 5.00 second Generic expiration timer to spirit
Set Variable Set spirit = No unit
Custom script: call RemoveLocation(udg_pointx)
Custom script: call RemoveLocation(udg_apointx)
heroWin
Events
Unit - A unit enters Rect_000 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mountain King
Actions
Game - Victory (Owner of (Triggering unit)) ( Show dialogs, Show scores)
herolose
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Mountain King
Actions
Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!
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.