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
Azeroth Tennis Cup 1.0.w3x
Variables
Initialization
Melee Initialization
Intro
Intro
Ball Movement
Comes in range of da pally
And the Tauren
Make the ball move faster
Score
Pally shooting outside
Tauren shooting outside
Pallymiss
Taurenmiss
Win
taurenwins da freekin game
pallywins
Name
Type
is_array
initial_value
LastShootingUnit
unit
No
Pallyscore
integer
No
Taurenscore
integer
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of Ball 0003 <gen> using Abilities\Spells\Other\HealingSpray\HealBottleMissile.mdl
Sound - Play War2IntroMusic <gen>
Environment - Set sky to Generic Sky
Cinematic - Fade out over 0.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - . Apply . gg_cam_PallyGate for Player 1 (Red) over 0 seconds
Camera - . Apply . gg_cam_PallyGate for Player 2 (Blue) over 0 seconds
Cinematic - Turn cinematic mode On for (All players)
Leaderboard - Create a leaderboard for (All players) titled Score
Leaderboard - Show (Last created leaderboard)
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label ((Name of (Owner of Tennis Pally 0002 <gen>)) + Scores) and value 0
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label ((Name of (Owner of Tennis Tauren 0001 <gen>)) + Scores) and value 0
Intro
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Cinematic - Fade in over 2.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2.50 seconds
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of Pally Gate 0004 <gen> using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
Wait 1.50 seconds
Unit - Move Tennis Pally 0002 <gen> instantly to (Position of Pally Gate 0004 <gen>) , facing (Center of PallyFace <gen>)
Wait 1.00 seconds
Animation - Play Tennis Pally 0002 <gen> 's spell animation
Cinematic - Fade out over 1.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 1.00 seconds
Unit - Remove Pally Gate 0004 <gen> from the game
Unit - Remove Tauren Gate 0005 <gen> from the game
Camera - . Apply . gg_cam_Pally_gamecam for Player 1 (Red) over 0 seconds
Camera - . Apply . gg_cam_Tauren_gamecam for Player 2 (Blue) over 0 seconds
Unit - Move Tennis Pally 0002 <gen> instantly to (Center of pally <gen>)
Unit - Move Tennis Tauren 0001 <gen> instantly to (Center of tauren <gen>)
Selection - Select Tennis Pally 0002 <gen> for Player 1 (Red)
Selection - Select Tennis Tauren 0001 <gen> for Player 2 (Blue)
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Fade in over 0.70 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 1.20 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffffcc00The first on to reach 10 scores wins the match. Go near the ball or attack to shoot it! Good luck!
Wait 3.00 seconds
Game - Display to (All players) for 4.00 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Pally 0002 <gen>)) + is serving!))
Comes in range of da pally
Events
Unit - A unit comes within 100.00 of Tennis Pally 0002 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Ball
Actions
Unit - Order Tennis Pally 0002 <gen> to Attack Once . (Triggering unit)
Wait 0.40 seconds
Special Effect - Create a special effect at (Position of Ball 0003 <gen>) using Abilities\Weapons\GlaiveMissile\GlaiveMissileTarget.mdl
Unit - Order Ball 0003 <gen> to Move To . (Random point in Ball_Tauren <gen>)
Set Variable Set LastShootingUnit = Tennis Pally 0002 <gen>
And the Tauren
Events
Unit - A unit comes within 100.00 of Tennis Tauren 0001 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Ball
Actions
Unit - Order Tennis Tauren 0001 <gen> to Attack Once . (Triggering unit)
Wait 0.40 seconds
Special Effect - Create a special effect at (Position of Ball 0003 <gen>) using Abilities\Weapons\GlaiveMissile\GlaiveMissileTarget.mdl
Unit - Order Ball 0003 <gen> to Move To . (Random point in Ball_Paladin <gen>)
Set Variable Set LastShootingUnit = Tennis Tauren 0001 <gen>
Make the ball move faster
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit - Set Ball 0003 <gen> movement speed to ((Current movement speed of Ball 0003 <gen>) + 2.00)
Pally shooting outside
Events
Unit - A unit enters Region_007 <gen>
Unit - A unit enters Region_006 <gen>
Conditions
(Triggering unit) Equal to Ball 0003 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LastShootingUnit Equal to Tennis Pally 0002 <gen>
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Pally 0002 <gen>)) + shooted the ball to a place outside the court.))
Unit - Move Ball 0003 <gen> instantly to (Center of Region_010 <gen>)
Unit - Set Ball 0003 <gen> movement speed to (Default movement speed of Ball 0003 <gen>)
Set Variable Set Taurenscore = (Taurenscore + 1)
Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to Taurenscore
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
Else - Actions
Tauren shooting outside
Events
Unit - A unit enters Region_009 <gen>
Unit - A unit enters Region_008 <gen>
Conditions
(Triggering unit) Equal to Ball 0003 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LastShootingUnit Equal to Tennis Tauren 0001 <gen>
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Tauren 0001 <gen>)) + shooted the ball to a place outside the court.))
Unit - Move Ball 0003 <gen> instantly to (Center of Region_010_Copy <gen>)
Unit - Set Ball 0003 <gen> movement speed to (Default movement speed of Ball 0003 <gen>)
Set Variable Set Pallyscore = (Pallyscore + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Pallyscore
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
Else - Actions
Pallymiss
Events
Unit - A unit enters Ball_Paladin <gen>
Conditions
(Triggering unit) Equal to Ball 0003 <gen>
Actions
Game - Display to (All players) for 5.00 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Tauren 0001 <gen>)) + got one more score...))
Unit - Move Ball 0003 <gen> instantly to (Center of Region_010_Copy <gen>)
Set Variable Set Taurenscore = (Taurenscore + 1)
Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to Taurenscore
Unit - Set Ball 0003 <gen> movement speed to (Default movement speed of Ball 0003 <gen>)
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
Taurenmiss
Events
Unit - A unit enters Ball_Tauren <gen>
Conditions
(Triggering unit) Equal to Ball 0003 <gen>
Actions
Game - Display to (All players) for 5.00 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Pally 0002 <gen>)) + got one more score...))
Unit - Move Ball 0003 <gen> instantly to (Center of Region_010 <gen>)
Set Variable Set Pallyscore = (Pallyscore + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Pallyscore
Unit - Set Ball 0003 <gen> movement speed to (Default movement speed of Ball 0003 <gen>)
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
taurenwins da freekin game
Events
Time - Every 1.00 seconds of game time
Conditions
Taurenscore Equal to 10
Actions
Unit - Kill Ball 0003 <gen>
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Tauren 0001 <gen>)) + wins the game!!!))
Unit - Kill Ball 0003 <gen>
Wait 4.00 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: You loosed the game!
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
pallywins
Events
Time - Every 1.00 seconds of game time
Conditions
Pallyscore Equal to 10
Actions
Unit - Kill Ball 0003 <gen>
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: (|cffffcc00 + ((Name of (Owner of Tennis Pally 0002 <gen>)) + wins the game!!!))
Wait 4.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: You loosed the game!
Game - Display to (All players) for 5.00 seconds the text: |CFFFF0000-------SCORES-------
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Pally 0002 <gen>)) + : ) + (String(Pallyscore)))
Game - Display to (All players) for 5.00 seconds the text: (((Name of (Owner of Tennis Tauren 0001 <gen>)) + : ) + (String(Taurenscore)))
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.