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
TZWs v1.0.w3x
Variables
Text
Red Base Text
Blue Base Text
TRain
Untitled Trigger 002
Yes
Untitled Trigger 004
Untitled Trigger 005
Help
Untitled Trigger 001
Martial Artists and Their Skills
Atribute subtruction
TRAIN AGI
Picked Hero
HERO 1
HERO 1 Copy
HERO 1 Copy Copy
HERO 1 Copy Copy Copy
Vision
Worlwide
Units
Clone
Unit
Fountain
Inferno
Dragon
Revive
Victory
Trainer Copy
Untitled Trigger 003
Cloning
Events
One
WINNER
Players group
Untitled Trigger 006
Name
Type
is_array
initial_value
BLUE
force
No
EVENT
timer
No
EVENTWINDOW
timerdialog
No
MyDialog
dialog
No
ONEVONE
dialog
No
RED
force
No
WINNER
force
No
YES
button
No
Yes
button
No
Red Base Text
Events
Map initialization
Conditions
Actions
Floating Text - Create floating text that reads RED TEAM at (Center of RED_BASE <gen>) with Z offset 0 , using font size 30.00 , color ( 100 %, 0.00 %, 0.00 %), and 0 % transparency
Blue Base Text
Events
Map initialization
Conditions
Actions
Floating Text - Create floating text that reads BLUE TEAM at (Center of BLUE_BASE <gen>) with Z offset 0 , using font size 30.00 , color ( 0.00 %, 0.00 %, 100.00 %), and 0 % transparency
TRain
Events
Map initialization
Conditions
Actions
Floating Text - Create floating text that reads Training Area at (Center of TRAINING_AREA <gen>) with Z offset 0 , using font size 40.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Untitled Trigger 002
Events
Unit - A unit enters TRAINING_AREA <gen>
Conditions
((Entering unit) is A Hero) Equal to True
(Trainer 0028 <gen> is hidden) Equal to True
Actions
Dialog - Clear MyDialog
Dialog - Change the title of MyDialog to Are you ready to fight your master.
Dialog - Create a dialog button for MyDialog labelled YES
Set Variable Set YES = (Last created dialog Button)
Dialog - Create a dialog button for MyDialog labelled NO
Dialog - Show MyDialog for (Owner of (Entering unit))
Yes
Events
Dialog - A dialog button is clicked for MyDialog
Conditions
(Clicked dialog button) Equal to YES
Actions
Unit - Unhide Trainer 0028 <gen>
Trigger - Turn off Clone <gen>
Untitled Trigger 004
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Dialog - Clear ONEVONE
Dialog - Change the title of ONEVONE to THERE ARE EVENTS
Dialog - Create a dialog button for ONEVONE labelled YES
Set Variable Set Yes = (Last created dialog Button)
Dialog - Create a dialog button for ONEVONE labelled NO
Dialog - Show ONEVONE for Player 1 (Red)
Untitled Trigger 005
Events
Dialog - A dialog button is clicked for ONEVONE
Conditions
(Clicked dialog button) Equal to Yes
Actions
Countdown Timer - Create a timer window for EVENT with title |cffffcc00Next Event|r
Set Variable Set EVENTWINDOW = (Last created timer window)
Countdown Timer - Show EVENTWINDOW
Countdown Timer - Start EVENT as a Repeating timer that will expire in 60.00 seconds
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled In/Decreasing Attributes with the description You can increase your agility and strenght in the Training Area by fighting with an allied hero or you can use the "Cloning Technique". When you Clone yourself in the Training Area your clone will fight you but when your fighting your master your new clones will not fight you.When you're attacked your attributes will decrease but after 80 seconds you will gain 1 moreEx. Str. 10 - 1 after 80 sec. 10 - 1 + 2 = 11 , using icon path ReplaceableTextures\PassiveButtons\PASBTNStatUp.blp
Atribute subtruction
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) belongs to an enemy of (Owner of (Attacked unit)).) Equal to True
(Unit-type of (Entering unit)) Equal to Riderless Horse
Actions
Unit - Create 1 . Martial Artist ( Blade) for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing Default building facing degrees
Unit - Kill (Entering unit)
Camera - Pan camera for (Owner of (Entering unit)) to ((Owner of (Entering unit)) start location) over 0 seconds
HERO 1 Copy
Events
Unit - A unit enters MA <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Riderless Horse
Actions
Unit - Create 1 . Martial Artist for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing Default building facing degrees
Unit - Kill (Entering unit)
Camera - Pan camera for (Owner of (Entering unit)) to ((Owner of (Entering unit)) start location) over 0 seconds
HERO 1 Copy Copy
Events
Unit - A unit enters MA_R <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Riderless Horse
Actions
Unit - Create 1 . Martial Artist (Ranged) for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing Default building facing degrees
Unit - Kill (Entering unit)
Camera - Pan camera for (Owner of (Entering unit)) to ((Owner of (Entering unit)) start location) over 0 seconds
HERO 1 Copy Copy Copy
Events
Unit - A unit enters MA_STR <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Riderless Horse
Actions
Unit - Create 1 . Martial Artist (Strength) for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing Default building facing degrees
Unit - Kill (Entering unit)
Camera - Pan camera for (Owner of (Entering unit)) to ((Owner of (Entering unit)) start location) over 0 seconds
Worlwide
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across TRAINING_AREA <gen>)
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Footman <gen>)
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Inferno <gen>)
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across DRAGON <gen>)
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Region_010 <gen>)
Clone
Events
Unit - A unit enters TRAINING_AREA <gen>
Conditions
((Entering unit) is A Hero) Equal to False
Actions
Unit - Change ownership of (Entering unit) to Neutral Hostile and Change color
Unit
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Unit - Create 2 . Footman for Neutral Hostile at (Random point in Footman <gen>) facing Default building facing degrees
Fountain
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Fountain of Health for Neutral Passive at (Center of Footman <gen>) facing Default building facing degrees
Inferno
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Unit - Create 2 . Infernal for Neutral Hostile at (Random point in Inferno <gen>) facing Default building facing degrees
Dragon
Events
Time - Every 90.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Blue Dragon for Neutral Hostile at (Random point in DRAGON <gen>) facing Default building facing degrees
Unit - Create 2 . Blue Dragon for Neutral Hostile at (Random point in DRAGON <gen>) facing Default building facing degrees
Unit - Create 2 . Blue Dragon for Neutral Hostile at (Random point in DRAGON <gen>) facing Default building facing degrees
Unit - Create 2 . Blue Dragon for Neutral Hostile at (Random point in DRAGON <gen>) facing Default building facing degrees
Revive
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Wait 5.00 seconds
Hero - Instantly revive (Dying unit) at ((Owner of (Dying unit)) start location) , Hide revival graphics
Camera - Pan camera for (Owner of (Dying unit)) to ((Owner of (Dying unit)) start location) over 0 seconds
Victory
Events
Unit - Trainer 0028 <gen> Dies
Conditions
Actions
Cinematic - Send transmission to (All allies of (Owner of (Killing unit)).) from Trainer 0028 <gen> named Trainer : Play No sound and display Congratulations. . Modify duration: Add 4.00 seconds and Wait
Player Group - Pick every player in WINNER and do (Send transmission to (All players) from Trainer 0028 <gen> named Trainer: Play No sound and display (Name of (Picked player)). Modify duration: Add 0 seconds and Wait)
Player Group - Pick every player in WINNER and do (Victory (Picked player) (Show dialogs, Show scores))
Trainer Copy
Events
Unit - A unit enters TRAINING_AREA <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Unit - Set level of Attack Damage for Trainer 0028 <gen> to ((Hero level of (Entering unit)) + 1)
Unit - Set level of Defense Points for Trainer 0028 <gen> to ((Hero level of (Entering unit)) + 1)
Unit - Set level of Attack Speed for Trainer 0028 <gen> to ((Hero level of (Entering unit)) + 1)
Untitled Trigger 003
Events
Time - Every 0.01 seconds of game time
Conditions
(Number of units in (Units in TRAINING_AREA <gen> matching (((Matching unit) is A Hero) Equal to True))) Less than or equal to 1
Actions
Unit - Hide Trainer 0028 <gen>
Trigger - Turn on Clone <gen>
Cloning
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Cloning Technique
Actions
One
Events
Time - EVENT expires
Conditions
Actions
Trigger - Turn off Untitled_Trigger_002 <gen>
Unit - Move (Random unit from (Units owned by (Random player from RED).)) instantly to (Center of TRAINING_AREA <gen>)
Unit - Move (Random unit from (Units owned by (Random player from BLUE).)) instantly to (Center of TRAINING_AREA <gen>)
WINNER
Events
Unit - A unit Dies
Conditions
(TRAINING_AREA <gen> contains (Dying unit)) Equal to True
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Equal to Martial Artist (Ranged)
(Unit-type of (Dying unit)) Equal to Martial Artist ( Blade)
(Unit-type of (Dying unit)) Equal to Martial Artist (Strength)
(Unit-type of (Dying unit)) Equal to Martial Artist
(Unit-type of (Killing unit)) Equal to Martial Artist (Strength)
(Unit-type of (Killing unit)) Equal to Martial Artist ( Blade)
(Unit-type of (Killing unit)) Equal to Martial Artist
(Unit-type of (Killing unit)) Equal to Martial Artist (Ranged)
((Dying unit) is A Hero) Equal to True
((Killing unit) is A Hero) Equal to True
Actions
Cinematic - Send transmission to (All players) from No unit named : Play No sound and display |cffff0000The Winner is|r . Modify duration: Add 4.00 seconds and Wait
Cinematic - Send transmission to (All players) from No unit named : Play No sound and display (Proper name of (Killing unit)) . Modify duration: Add 2.00 seconds and Wait
Unit - Move (Killing unit) instantly to ((Owner of (Killing unit)) start location)
Hero - Add ((Hero level of (Dying unit)) x 600) experience to (Killing unit) , Hide level-up graphics
Trigger - Turn on Untitled_Trigger_002 <gen>
Untitled Trigger 006
Events
Map initialization
Conditions
Actions
Set Variable Set RED = (All allies of Player 1 (Red).)
Set Variable Set BLUE = (All allies of Player 7 (Green).)
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.