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
Desert Bus.w3x
Variables
Initialization
Init
Start Engine
Start
Movement
Steer Left Start
Steer Left End
Steering Left
Steer Right Start
Steer Right End
Steering Right
Honk
HONK
Loop
Teleport Back
Failure
Enter Fail
Slowdown
Timer
Timer
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
Points
integer
No
Speed
real
No
Tempoint1
location
No
Tempoint2
location
No
Tempoint3
location
No
Timer
integer
No
Init
Events
Map initialization
Conditions
Actions
Game - Set the time of day to 12.00
Game - Set time of day speed to 0.00 % of the default speed
Environment - Set sky to Lordaeron Summer Sky
Environment - Set fog to style Linear , z-start 90000.00 , z-end 900000.00 , density 0 and color ( 100.00 %, 100.00 %, 0.00 %)
Camera - . Apply . gg_cam_Bus for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Desert Bus 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Entire map)
Animation - Change Desert Bus 0000 <gen> 's animation speed to 0.00 % of its original speed
Sound - Set music volume to 0.00 %
Selection - Select Desert Bus 0000 <gen>
Start
Events
Unit - Desert Bus 0000 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Start Engine - L
Actions
Animation - Change Desert Bus 0000 <gen> 's animation speed to 100 % of its original speed
Sound - Play SteamTankReady1 <gen> at 100 % volume, attached to Desert Bus 0000 <gen>
Sound - Play SteamTankMovement <gen> at 100 % volume, attached to Desert Bus 0000 <gen>
Unit - Remove Start Engine - L from Desert Bus 0000 <gen>
Unit - Add Honk - H (Neutral Hostile) to Desert Bus 0000 <gen>
Set Variable Set Speed = "2.00"
Trigger - Turn on Movement <gen>
Set Variable Set Timer = "0"
Trigger - Turn on Timer <gen>
Trigger - Turn on Steer_Left_Start <gen>
Trigger - Turn on Steer_Left_End <gen>
Trigger - Turn on Steer_Right_Start <gen>
Trigger - Turn on Steer_Right_End <gen>
Movement
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set Variable Set Tempoint1 = ((Position of Desert Bus 0000 <gen>) offset by Speed towards (Facing of Desert Bus 0000 <gen>) degrees.)
Unit - Move Desert Bus 0000 <gen> instantly to Tempoint1
Custom script: call RemoveLocation(udg_Tempoint1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Speed Less than 30.00
Then - Actions
Set Variable Set Speed = (Speed + 0.03)
Else - Actions
Trigger - Turn on Steer_Left_Start <gen>
Trigger - Turn on Steer_Left_End <gen>
Trigger - Turn on Steer_Right_Start <gen>
Trigger - Turn on Steer_Right_End <gen>
Steer Left Start
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Trigger - Turn on Steering_Left <gen>
Steer Left End
Events
Player - Player 1 (Red) Releases the Left Arrow key
Conditions
Actions
Trigger - Turn off Steering_Left <gen>
Steering Left
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set Variable Set Tempoint2 = ((Position of Desert Bus 0000 <gen>) offset by 10.00 towards ((Facing of Desert Bus 0000 <gen>) + 90.00) degrees.)
Unit - Move Desert Bus 0000 <gen> instantly to Tempoint2
Custom script: call RemoveLocation(udg_Tempoint2)
Steer Right Start
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
Trigger - Turn on Steering_Right <gen>
Steer Right End
Events
Player - Player 1 (Red) Releases the Right Arrow key
Conditions
Actions
Trigger - Turn off Steering_Right <gen>
Steering Right
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set Variable Set Tempoint2 = ((Position of Desert Bus 0000 <gen>) offset by 10.00 towards ((Facing of Desert Bus 0000 <gen>) - 90.00) degrees.)
Unit - Move Desert Bus 0000 <gen> instantly to Tempoint2
Custom script: call RemoveLocation(udg_Tempoint2)
HONK
Events
Unit - Desert Bus 0000 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Honk - H (Neutral Hostile)
Actions
Sound - Play SteamTankWhat3 <gen> at 100 % volume, attached to Desert Bus 0000 <gen>
Teleport Back
Events
Unit - A unit enters Loop <gen>
Conditions
Actions
Set Variable Set Tempoint3 = ((Position of Desert Bus 0000 <gen>) offset by (0.00, -21515.00))
Unit - Move Desert Bus 0000 <gen> instantly to Tempoint3
Custom script: call RemoveLocation(udg_Tempoint3)
Enter Fail
Events
Unit - A unit enters Death2 <gen>
Unit - A unit enters Death1 <gen>
Conditions
Actions
Trigger - Turn on Slowdown <gen>
Slowdown
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Speed Less than 1.00
Then - Actions
Trigger - Turn off Movement <gen>
Trigger - Turn off (This trigger)
Trigger - Turn off Timer <gen>
Sound - Set volume of SteamTankMovement <gen> to 0.00 %
Wait 5.00 seconds
Set Variable Set Timer = "0"
Unit - Move Desert Bus 0000 <gen> instantly to (Center of Region_003 <gen>)
Animation - Change Desert Bus 0000 <gen> 's animation speed to 0.00 % of its original speed
Unit - Add Start Engine - L to Desert Bus 0000 <gen>
Unit - Remove Honk - H (Neutral Hostile) from Desert Bus 0000 <gen>
Else - Actions
Set Variable Set Speed = (Speed - 1.00)
Trigger - Turn off Steer_Left_Start <gen>
Trigger - Turn off Steer_Left_End <gen>
Trigger - Turn off Steer_Right_End <gen>
Trigger - Turn off Steer_Right_Start <gen>
Trigger - Turn off Steering_Left <gen>
Trigger - Turn off Steering_Right <gen>
Timer
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Set Variable Set Timer = (Timer + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer Greater than or equal to 481
Then - Actions
Trigger - Turn off Movement <gen>
Trigger - Turn off Steer_Left_Start <gen>
Trigger - Turn off Steering_Left <gen>
Trigger - Turn off Steer_Right_Start <gen>
Trigger - Turn off Steering_Right <gen>
Trigger - Turn off Timer <gen>
Set Variable Set Speed = "0.00"
Set Variable Set Timer = "0"
Sound - Set volume of SteamTankMovement <gen> to 0.00 %
Cinematic - Fade out over 1.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 1.00 seconds
Set Variable Set Tempoint1 = (Center of Region_004 <gen>)
Floating Text - Create floating text that reads (Points: + (String(Points))) at Tempoint1 with Z offset 0 , using font size 50.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Camera - . Apply . gg_cam_Score for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Clockwerk Goblin 0001 <gen> , offset by ( 0 , 0 ) using Default rotation
Cinematic - Fade in over 1.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 3.00 seconds
Set Variable Set Points = (Points + 1)
Floating Text - Destroy (Last created floating text)
Floating Text - Create floating text that reads (Points: + (String(Points))) at Tempoint1 with Z offset 0 , using font size 50.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Sound - Play SecretFound <gen> at 100 % volume, located at Tempoint1 with Z offset 0
Custom script: call RemoveLocation(udg_Tempoint1)
Wait 4.00 seconds
Unit - Move Desert Bus 0000 <gen> instantly to (Center of Region_003 <gen>)
Cinematic - Fade out over 1.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 1.00 seconds
Floating Text - Destroy (Last created floating text)
Camera - . Apply . gg_cam_Bus for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Desert Bus 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Animation - Change Desert Bus 0000 <gen> 's animation speed to 0.00 % of its original speed
Unit - Add Start Engine - L to Desert Bus 0000 <gen>
Unit - Remove Honk - H (Neutral Hostile) from Desert Bus 0000 <gen>
Cinematic - Fade in over 1.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
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.