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
Omnislash.w3x
Variables
Initialization
Melee Initialization
Untitled Category
Untitled Trigger 001
Untitled Category
Untitled Trigger 002
Untitled Trigger 003
Untitled Trigger 004
Untitled Trigger 005
Untitled Trigger 006
Untitled Trigger 007
Untitled Category
Untitled Trigger 008
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
caster
unit
No
casterloc
location
No
target
unit
No
targetgroup
group
No
targetloc
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)
Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Omnislash
Actions
Set Variable Set caster = (Triggering unit)
Unit - Make (Triggering unit) Invulnerable
Unit - Pause (Triggering unit)
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set casterloc = (Position of caster)
Set Variable Set targetgroup = (Units within 600.00 of casterloc matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit)).) Equal to False) and (((Matching unit) is alive) Equal to True)).)
Set Variable Set target = (Random unit from targetgroup)
Custom script: call DestroyGroup(udg_targetgroup)
Set Variable Set targetloc = (Position of target)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
target Equal to No unit
Then - Actions
Do nothing
Else - Actions
Custom script: call RemoveLocation(udg_casterloc)
Set Variable Set casterloc = (Position of caster)
Special Effect - Create a special effect at casterloc using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
Custom script: call RemoveLocation(udg_casterloc)
Unit - Move caster instantly to targetloc
Set Variable Set casterloc = (Position of caster)
Special Effect - Create a special effect at casterloc using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
Custom script: call RemoveLocation(udg_casterloc)
Unit - Make caster face target over 0.10 seconds
Animation - Play caster 's attack animation
Unit - Cause caster to damage target , dealing (Random real number between 150.00 and 250.00) damage of attack type Hero and damage type Normal
Set Variable Set target = No unit
Custom script: call RemoveLocation(udg_casterloc)
Wait 0.50 game-time seconds
Custom script: call RemoveLocation(udg_casterloc)
Animation - Reset caster 's animation
Unit - Unpause caster
Unit - Make caster Vulnerable
Untitled Trigger 002
Events
Unit - A unit enters Region_009 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_011 <gen>)
Camera - . Apply . gg_cam_Camera_002 for Player 1 (Red) over 0 seconds
Untitled Trigger 003
Events
Unit - A unit enters Region_004 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_010 <gen>)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Untitled Trigger 004
Events
Unit - A unit enters Region_001 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_007 <gen>)
Camera - . Apply . gg_cam_Camera_004 for Player 1 (Red) over 0 seconds
Untitled Trigger 005
Events
Unit - A unit enters Region_000 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_005 <gen>)
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 0 seconds
Untitled Trigger 006
Events
Unit - A unit enters Region_002 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_008 <gen>)
Camera - . Apply . gg_cam_Camera_005 for Player 1 (Red) over 0 seconds
Untitled Trigger 007
Events
Unit - A unit enters Region_003 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_008 <gen>)
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 0 seconds
Untitled Trigger 008
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to False
Actions
Wait 60.00 seconds
Unit - Replace (Triggering unit) with a (Unit-type of (Triggering unit)) using The old unit's relative life and mana
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.