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
First Person Camera.w3x
Variables
Initialization
Initialization
Camera
Turning Variable
Turn Left
Turning Left
Stop Turning Left
Turn Right
Turning Right
Stop Turning Right
Move Up
Moving Up
Stop Moving Up
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
P1Bullet
unit
No
Turning
real
No
Initialization
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Animation - Play Warrior 0000 <gen> 's attack animation
Selection - Select Warrior 0000 <gen> for Player 1 (Red)
Camera - Set Player 1 (Red) 's camera Distance to target to 0.00 over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Angle of attack to 350.00 over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Rotation to (Facing of Warrior 0000 <gen>) over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Height Offset to 100.00 over 1.00 seconds
Camera - Pan camera for Player 1 (Red) to ((Position of Warrior 0000 <gen>) offset by 50.00 towards (Facing of Warrior 0000 <gen>) degrees.) over 1.00 seconds
Wait 1.00 seconds
Trigger - Turn off (This trigger)
Trigger - Turn on Camera <gen>
Trigger - Turn on Turn_Left <gen>
Trigger - Turn on Turn_Right <gen>
Trigger - Turn on Move_Up <gen>
Camera
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Camera - Set Player 1 (Red) 's camera Distance to target to 0.00 over 0 seconds
Camera - Set Player 1 (Red) 's camera Angle of attack to 350.00 over 0.00 seconds
Camera - Set Player 1 (Red) 's camera Rotation to (Facing of Warrior 0000 <gen>) over 0.50 seconds
Camera - Set Player 1 (Red) 's camera Height Offset to 110.00 over 0 seconds
Camera - Pan camera for Player 1 (Red) to ((Position of Warrior 0000 <gen>) offset by 50.00 towards (Facing of Warrior 0000 <gen>) degrees.) over 0 seconds
Turning Variable
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Make Warrior 0000 <gen> face Turning over 0.01 seconds
Turn Left
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Trigger - Turn on Turning_Left <gen>
Turning Left
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set Turning = (Turning + 1.00)
Stop Turning Left
Events
Player - Player 1 (Red) Releases the Left Arrow key
Conditions
Actions
Trigger - Turn off Turning_Left <gen>
Turn Right
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
Trigger - Turn on Turning_Right <gen>
Turning Right
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set Turning = (Turning - 1.00)
Stop Turning Right
Events
Player - Player 1 (Red) Releases the Right Arrow key
Conditions
Actions
Trigger - Turn off Turning_Right <gen>
Move Up
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Trigger - Turn on Moving_Up <gen>
Moving Up
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Move Warrior 0000 <gen> instantly to (((Position of Warrior 0000 <gen>) offset by (0, 0)) offset by 3.50 towards (Facing of Warrior 0000 <gen>) degrees.)
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.