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
trip lng.w3x
Variables
Initialization
Melee Initialization
creeps
neutral
Untitled Trigger 001
Untitled Trigger 002
Untitled Trigger 002 Copy
Untitled Trigger 008
Untitled Trigger 005
Untitled Category
Untitled Trigger 004
Untitled Trigger 004 Copy
Untitled Trigger 004 Copy 3
Untitled Trigger 004 Copy 2 Copy 2
Untitled Trigger 004 Copy 2
Untitled Trigger 004 Copy 2 Copy
Untitled Category
Untitled Trigger 006
Untitled Trigger 006 Copy
Untitled Category
Untitled Trigger 007
Untitled Category
Untitled Trigger 009
Untitled Category
Ghost Strike
Ghost Strike Copy
Net
Net Drag
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
gh
unit
No
grup
group
No
h
effect
Yes
NetPointArray
location
Yes
NetRealArray
real
Yes
NetUnitArray
unit
Yes
point
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 - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
Player - Turn Gives bounty On for Player 1 (Red)
Player - Turn Gives bounty On for Player 2 (Blue)
Player - Turn Gives bounty On for Player 3 (Teal)
Player - Turn Gives bounty On for Player 4 (Purple)
Player - Turn Gives bounty On for Player 6 (Orange)
Player - Turn Gives bounty On for Player 7 (Green)
creeps
Events
Time - Every 50.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Jailor Kassan for Player 3 (Teal) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 5 . Jailor Kassan for Player 4 (Purple) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 1 . Meat Wagon for Player 3 (Teal) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Meat Wagon for Player 4 (Purple) at (Center of Region_001 <gen>) facing Default building facing degrees
neutral
Events
Time - Every 150.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Mud Golem for Neutral Hostile at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 2 . Mud Golem for Neutral Hostile at (Center of Region_004 <gen>) facing Default building facing degrees
Untitled Trigger 001
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Hero - Instantly revive Abomination 0067 <gen> at (Center of Region_011 <gen>) , Hide revival graphics
Untitled Trigger 002
Events
Player - Player 1 (Red) types a chat message containing -bring it on (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Abomination for Player 5 (Yellow) at (Center of Region_014 <gen>) facing Default building facing degrees
Untitled Trigger 002 Copy
Events
Player - Player 1 (Red) types a chat message containing -heroes (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 5 . Dark Knight for Player 3 (Teal) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 5 . Dark Knight for Player 4 (Purple) at (Center of Region_001 <gen>) facing Default building facing degrees
Untitled Trigger 008
Events
Player - Player 1 (Red) types a chat message containing -eye (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . eye of sageras for Neutral Hostile at (Center of Region_014 <gen>) facing Default building facing degrees
Untitled Trigger 005
Events
Time - Every 150.00 seconds of game time
Conditions
Actions
Player - Add 500 to Player 1 (Red) . Current gold
Player - Add 500 to Player 2 (Blue) . Current gold
Player - Add 500 to Player 6 (Orange) . Current gold
Player - Add 500 to Player 7 (Green) . Current gold
Untitled Trigger 004
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_000 <gen>) , Show revival graphics
Untitled Trigger 004 Copy
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_000 <gen>) , Show revival graphics
Untitled Trigger 004 Copy 3
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_000 <gen>) , Show revival graphics
Untitled Trigger 004 Copy 2 Copy 2
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_001 <gen>) , Show revival graphics
Untitled Trigger 004 Copy 2
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_001 <gen>) , Show revival graphics
Untitled Trigger 004 Copy 2 Copy
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 8.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_001 <gen>) , Show revival graphics
Untitled Trigger 006
Events
Unit - Scout Tower 0012 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Untitled Trigger 006 Copy
Events
Unit - Scout Tower 0011 <gen> Dies
Conditions
Actions
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Untitled Trigger 007
Events
Time - Elapsed game time is 40.00 seconds
Conditions
Actions
Unit - Kill Tavern 0062 <gen>
Unit - Kill Wisp 0063 <gen>
Unit - Kill Tavern 0030 <gen>
Unit - Kill Wisp 0064 <gen>
Unit - Kill Wisp 0042 <gen>
Unit - Kill Wisp 0041 <gen>
Untitled Trigger 009
Events
Time - Elapsed game time is 50.00 seconds
Conditions
Actions
Unit - Create 1 . Dark Knight for Player 3 (Teal) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Dark Knight for Player 4 (Purple) at (Center of Region_001 <gen>) facing Default building facing degrees
I really need to lerar how to use timer loops, this waits fail...
Ghost Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to swarm
Actions
Set Variable Set gh = (Triggering unit)
Wait 0.01 game-time seconds
Unit - Pause gh
Unit - Make gh Invulnerable
Animation - Change gh 's vertex coloring to ( 20.00 %, 20.00 %, 20.00 %) with 50.00 % transparency
Animation - Change gh 's animation speed to 150.00 % of its original speed
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of gh using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
Set Variable Set h[10] = (Last created special effect)
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of gh using Abilities\Weapons\AvengerMissile\AvengerMissile.mdl
Set Variable Set h[11] = (Last created special effect)
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Set Variable Set point = (Position of gh)
Wait 0.14 game-time seconds
Animation - Play gh 's slam animation
Unit - Move gh instantly to (point offset by 100.00 towards (Facing of gh) degrees.)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of gh using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Special Effect - Destroy (Last created special effect)
Set Variable Set grup = (Units within 200.00 of point matching ((((Owner of gh) is an enemy of (Owner of (Matching unit)).) Equal to True) and (((Matching unit) is alive) Equal to True)).)
Unit Group - Pick every unit in grup and do (Actions)
Loop - Actions
Unit - Cause gh to damage (Picked unit) , dealing 180.00 damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call DestroyGroup (udg_grup)
Custom script: call RemoveLocation (udg_point)
Unit - Make gh Vulnerable
Unit - Unpause gh
Animation - Change gh 's vertex coloring to ( 100 %, 100 %, 100 %) with 0 % transparency
Special Effect - Destroy h[10]
Special Effect - Destroy h[11]
Animation - Change gh 's animation speed to 100.00 % of its original speed
Animation - Reset gh 's animation
I really need to lerar how to use timer loops, this waits fail...
Ghost Strike Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to 1qae
Actions
Set Variable Set gh = (Triggering unit)
Wait 0.01 game-time seconds
Animation - Change gh 's vertex coloring to ( 100.00 %, 100.00 %, 100.00 %) with 100.00 % transparency
Animation - Change gh 's animation speed to 1000000000.00 % of its original speed
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of gh using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
Set Variable Set h[10] = (Last created special effect)
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of gh using Abilities\Weapons\AvengerMissile\AvengerMissile.mdl
Set Variable Set h[11] = (Last created special effect)
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Set Variable Set point = (Position of gh)
Wait 0.01 game-time seconds
Animation - Play gh 's slam animation
Unit - Move gh instantly to (point offset by 400.00 towards (Facing of gh) degrees.)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of gh using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Special Effect - Destroy (Last created special effect)
Set Variable Set grup = (Units within 200.00 of point matching ((((Owner of gh) is an enemy of (Owner of (Matching unit)).) Equal to True) and (((Matching unit) is alive) Equal to True)).)
Unit Group - Pick every unit in grup and do (Actions)
Loop - Actions
Unit - Cause gh to damage (Picked unit) , dealing 1.00 damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call DestroyGroup (udg_grup)
Custom script: call RemoveLocation (udg_point)
Animation - Change gh 's vertex coloring to ( 100 %, 100 %, 100 %) with 0 % transparency
Special Effect - Destroy h[10]
Special Effect - Destroy h[11]
Animation - Change gh 's animation speed to 100.00 % of its original speed
Animation - Reset gh 's animation
Net
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Net
Actions
Set Variable Set NetUnitArray[1] = (Casting unit)
Set Variable Set NetUnitArray[2] = (Target unit of ability being cast)
Set Variable Set NetPointArray[1] = (Position of NetUnitArray[1])
Set Variable Set NetPointArray[2] = (Position of NetUnitArray[2])
Set Variable Set NetRealArray[1] = (Distance between NetPointArray[1] and NetPointArray[2])
Set Variable Set NetRealArray[2] = "0.00"
Set Variable Set NetRealArray[3] = (Distance between NetPointArray[1] and NetPointArray[2])
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.