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
X-Flyer4.w3x
Variables
Initialisierung
coolness
begin
start
end game
move
left
right
left off
right off
real left
real right
walls
win lvl 1
win lvl 2
win lvl 3
win lvl 4
win lvl 5
win lvl 6
end version
speed up1
speed up2
game over
bonus points
slow
Hp plus
Chances plus
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
Chances
integer
No
3
Direction
real
No
EndGame
integer
No
Flyer
unit
No
UnitNull
Ingame
integer
No
Point
location
No
Point1
location
No
Progress
integer
No
Score
integer
No
coolness
Events
Map initialization
Conditions
Actions
Player - Make Player 1 (Red) treat Neutral Passive as an Ally with shared vision
For each (Integer A) from 1 to 100 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043 <gen>)
Unit - Create 1 . Wall 5 for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 35 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043_Kopieren <gen>)
Unit - Create 1 . Wall 6 for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 60 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043_Kopieren_Kopieren <gen>)
Unit - Create 1 . Wall 7 for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 25 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043 <gen>)
Unit - Create 1 . Bonus Points for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 50 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043_Kopieren <gen>)
Unit - Create 1 . Bonus Points for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 30 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043_Kopieren_Kopieren <gen>)
Unit - Create 1 . Bonus Points for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043 <gen>)
Unit - Create 1 . Hp+ for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
For each (Integer A) from 1 to 2 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Gebiet_043_Kopieren <gen>)
Unit - Create 1 . Hp+ for Player 2 (Blue) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
Set Variable Set Point = (Center of (Playable map area))
Environment - Change terrain type at Point to Outland - Abyss using variation -1 in an area of size 2000 and shape Circle
Custom script: call RemoveLocation(udg_Point)
Game - Turn the day/night cycle Off
Game - Set the time of day to 12
begin
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Trigger - Turn off real_left <gen>
Trigger - Turn off real_right <gen>
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Enable user control for (All players) .
Cinematic - Send transmission to (All players) from Flyer named |cff6666ffGame Master:|r : Play No sound and display Welcome to X-Flyer!Press "ESC" to start. . Modify duration: Add 0 seconds and Wait
Sound - Stop music Immediately
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Ingame Equal to 0
Then - Actions
Game - Display to (All players) for 999999.00 seconds the text: Press "ESC" to start!
Else - Actions
Do nothing
start
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
(Number of units in (Units in (Playable map area) matching (((Owner of (Matching unit)) Equal to Player 1 (Red)) and (((Matching unit) is alive) Equal to True)))) Equal to 0
Actions
Set Variable Set Ingame = "1"
Cinematic - Clear the screen of text messages for (All players) .
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 0
Then - Actions
Set Variable Set Point = (Center of Gebiet_000_Kopieren <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 1
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 2
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5 <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 3
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 4
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_2 <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 5
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_3 <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Progress Equal to 6
Then - Actions
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_4 <gen>)
Else - Actions
Do nothing
Unit - Create 1 . Flyer for Player 1 (Red) at Point facing 90.00 degrees
Set Variable Set Flyer = (Last created unit)
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Flyer , offset by ( 0 , 0 ) using Default rotation
Cinematic - Send transmission to (All players) from Flyer named |cff6666ffScore:|r : Play No sound and display (String(Score)) . Modify duration: Add 0 seconds and Wait
end game
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
EndGame Equal to 1
Then - Actions
Cinematic - Turn cinematic mode Off for (All players)
Game - Defeat Player 1 (Red) with the message: Have a nice day!
Else - Actions
Set Variable Set EndGame = "1"
Wait 0.25 seconds
Set Variable Set EndGame = "0"
move
Events
Time - Every 1.00 seconds of game time
Conditions
(Flyer is alive) Equal to True
Actions
Set Variable Set Point1 = (Position of Flyer)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Gebiet_024 <gen> contains Flyer) Equal to False
Then - Actions
Set Variable Set Point = (Point1 offset by (Direction, 800.00))
Else - Actions
Set Variable Set Point = (Point1 offset by (Direction, 400.00))
Unit - Order Flyer to Move To . Point
Custom script: call RemoveLocation(udg_Point)
Custom script: call RemoveLocation(udg_Point1)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Flyer , offset by ( 0 , 0 ) using Default rotation
left
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Trigger - Turn on real_left <gen>
right
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
Trigger - Turn on real_right <gen>
left off
Events
Player - Player 1 (Red) Releases the Left Arrow key
Conditions
Actions
Trigger - Turn off real_left <gen>
right off
Events
Player - Player 1 (Red) Releases the Right Arrow key
Conditions
Actions
Trigger - Turn off real_right <gen>
real left
Events
Time - Every 0.03 seconds of game time
Conditions
(Flyer is alive) Equal to True
Actions
Set Variable Set Point1 = (Position of Flyer)
Set Variable Set Point = (Point1 offset by (-6.00, 0))
Unit - Move Flyer instantly to Point
Custom script: call RemoveLocation(udg_Point)
Custom script: call RemoveLocation(udg_Point1)
Set Variable Set Point1 = (Position of Flyer)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Gebiet_024 <gen> contains Flyer) Equal to False
Then - Actions
Set Variable Set Point = (Point1 offset by (Direction, 800.00))
Else - Actions
Set Variable Set Point = (Point1 offset by (Direction, 400.00))
Unit - Order Flyer to Move To . Point
Custom script: call RemoveLocation(udg_Point)
Custom script: call RemoveLocation(udg_Point1)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Flyer , offset by ( 0 , 0 ) using Default rotation
real right
Events
Time - Every 0.03 seconds of game time
Conditions
(Flyer is alive) Equal to True
Actions
Set Variable Set Point1 = (Position of Flyer)
Set Variable Set Point = (Point1 offset by (6.00, 0))
Unit - Move Flyer instantly to Point
Custom script: call RemoveLocation(udg_Point)
Custom script: call RemoveLocation(udg_Point1)
Set Variable Set Point1 = (Position of Flyer)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Gebiet_024 <gen> contains Flyer) Equal to False
Then - Actions
Set Variable Set Point = (Point1 offset by (Direction, 800.00))
Else - Actions
Set Variable Set Point = (Point1 offset by (Direction, 400.00))
Unit - Order Flyer to Move To . Point
Custom script: call RemoveLocation(udg_Point)
Custom script: call RemoveLocation(udg_Point1)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Flyer , offset by ( 0 , 0 ) using Default rotation
walls
Events
Unit - A unit enters Gebiet_002_Kopieren <gen>
Unit - A unit enters Gebiet_002 <gen>
Unit - A unit enters Gebiet_002_Kopieren_2 <gen>
Unit - A unit enters Gebiet_002_Kopieren_2_Kopieren <gen>
Unit - A unit enters Gebiet_002_Kopieren_2_Kopieren_Kopieren_Kopieren <gen>
Unit - A unit enters Gebiet_002_Kopieren_2_Kopieren_Kopieren <gen>
Unit - A unit enters Gebiet_002_Kopieren_2_Kopieren_Kopieren_Kopieren_Kopieren_2 <gen>
Unit - A unit enters Gebiet_002_Kopieren_2_Kopieren_Kopieren_Kopieren_Kopieren <gen>
Conditions
Actions
Unit - Kill (Entering unit)
win lvl 1
Events
Unit - A unit enters Gebiet_000 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 1 complete!
Set Variable Set Progress = "1"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
win lvl 2
Events
Unit - A unit enters Gebiet_007 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 2 complete!
Set Variable Set Progress = "2"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5 <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
win lvl 3
Events
Unit - A unit enters Gebiet_007_Kopieren_4 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 3 complete!
Set Variable Set Progress = "3"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
win lvl 4
Events
Unit - A unit enters Gebiet_007_Kopieren_5_Kopieren_8 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 4 complete!
Set Variable Set Progress = "4"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_2 <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
win lvl 5
Events
Unit - A unit enters Gebiet_007_Kopieren_5_Kopieren_7 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 5 complete!
Set Variable Set Progress = "5"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_3 <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
win lvl 6
Events
Unit - A unit enters Gebiet_007_Kopieren_5_Kopieren_6 <gen>
Conditions
Actions
Game - Display to (All players) the text: Level 5 complete!
Set Variable Set Progress = "6"
Unit - Set life of Flyer to 100 %
Wait 2 seconds
Set Variable Set Point = (Center of Gebiet_007_Kopieren_5_Kopieren_4 <gen>)
Unit - Move Flyer instantly to Point
Unit - Set Flyer movement speed to 200.00
Custom script: call RemoveLocation(udg_Point)
end version
Events
Unit - A unit enters Gebiet_007_Kopieren_5_Kopieren_5 <gen>
Conditions
Actions
Game - Display to (All players) the text: End of current version!
Set Variable Set Progress = "7"
Unit - Set life of Flyer to 100 %
speed up1
Events
Unit - A unit enters Gebiet_005 <gen>
Unit - A unit enters Gebiet_007_Kopieren_2 <gen>
Unit - A unit enters Gebiet_005_Kopieren_2 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren_3 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren_5 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Flyer
Actions
Unit - Set (Entering unit) movement speed to ((Current movement speed of Flyer) + 125.00)
Game - Display to (All players) the text: SPEED UP!
speed up2
Events
Unit - A unit enters Gebiet_005_Kopieren <gen>
Unit - A unit enters Gebiet_007_Kopieren_3 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_2 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren_2 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren_4 <gen>
Unit - A unit enters Gebiet_005_Kopieren_3_Kopieren_Kopieren_6 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Flyer
Actions
Unit - Set (Entering unit) movement speed to ((Current movement speed of Flyer) + 300.00)
Game - Display to (All players) the text: SPEED UP!
game over
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Flyer
Actions
Set Variable Set Ingame = "0"
Cinematic - Fade out and back in over 1.00 seconds using texture Splatt! and color ( 0 %, 0 %, 40.00 %) with 0 % transparency
Game - Display to (All players) for 999999.00 seconds the text: (Chances left: |cff00ff00 + (String(Chances)))
Game - Display to (All players) for 999999.00 seconds the text: Press ESC to restart.Press double ESC to end game.
Set Variable Set Chances = (Chances - 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chances Less than or equal to 0
Then - Actions
Cinematic - Turn cinematic mode Off for (All players)
Game - Defeat Player 1 (Red) with the message: (Final Score: |cff00ff00 + (String(Score)))
Else - Actions
Do nothing
bonus points
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Bonus Points
Actions
Floating Text - Create floating text that reads +Score+ above (Attacking unit) with Z offset 0.00 , using font size 12.00 , color ( 100.00 %, 100.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
Set Variable Set Score = (Score + ((Random integer number between 5 and 7) x (Progress + 1)))
Set Variable Set Point = (Position of (Attacking unit))
Special Effect - Create a special effect at Point using UI\Feedback\GoldCredit\GoldCredit.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Point)
Unit - Remove (Attacking unit) from the game
Cinematic - Send transmission to (All players) from Flyer named |cff6666ffScore:|r : Play No sound and display (String(Score)) . Modify duration: Add 0 seconds and Wait
slow
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Slow
Actions
Floating Text - Create floating text that reads -Speed- above (Attacking unit) with Z offset 0.00 , using font size 12.00 , color ( 20.00 %, 20.00 %, 100.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
Unit - Set (Attacked unit) movement speed to ((Current movement speed of Flyer) - 120.00)
Unit - Remove (Attacking unit) from the game
Set Variable Set Point = (Position of (Attacking unit))
Special Effect - Create a special effect at Point using Abilities\Spells\Human\Avatar\AvatarCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Point)
Wait 5.00 seconds
Unit - Set (Attacked unit) movement speed to ((Current movement speed of Flyer) + 120.00)
Hp plus
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Hp+
Actions
Floating Text - Create floating text that reads +Health+ above (Attacking unit) with Z offset 0.00 , using font size 12.00 , color ( 0.00 %, 100.00 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
Unit - Set life of (Attacked unit) to ((Life of (Attacked unit)) + 100.00)
Unit - Remove (Attacking unit) from the game
Set Variable Set Point = (Position of (Attacking unit))
Special Effect - Create a special effect at Point using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_Point)
Chances plus
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Chances
Actions
Floating Text - Create floating text that reads +Chance+ above (Attacking unit) with Z offset 0.00 , using font size 12.00 , color ( 40.00 %, 100.00 %, 40.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 4.00 seconds
Set Variable Set Chances = (Chances + 1)
Unit - Remove (Attacking unit) from the game
Set Variable Set Point = (Position of (Attacking unit))
Special Effect - Create a special effect at Point using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
Special Effect - Destroy (Last created special effect)
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.