- Joined
- Dec 9, 2014
- Messages
- 176
I wanted to have a simple trigger to adjust the camera angle when the hero walks up a ramp and onto a higher platform. However, no matter what I do the angle won't change. I have it set to adjust when entering the base of the ramp and again when going back down the ramp. I've already made the boolean variable for RampUsed false at the start of the map. Please let me know what I messed up, thanks!
-
Camera Ini
-
Events
-
Unit - A unit enters (Playable map area)
-
-
Conditions
-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
-
Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
-
Trigger - Turn on Camera Normal <gen>
-
Selection - Select (Triggering unit) for Player 1 (Red)
-
Camera - Change camera smoothing factor to 2500.00
-
Visibility - Enable fog of war
-
Environment - Set sky to Dalaran Sky
-
Set RampUsed = False
-
-
-
Camera Ramp Adjust
-
Events
-
Unit - A unit enters Camera Adjust1 <gen>
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RampUsed Equal to False
-
-
Then - Actions
-
Set RampUsed = True
-
Trigger - Turn off Camera Normal <gen>
-
Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
-
Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
-
Trigger - Turn on Camera Heightened <gen>
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RampUsed Equal to True
-
-
Then - Actions
-
Set RampUsed = False
-
Trigger - Turn off Camera Heightened <gen>
-
Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
-
Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
-
Trigger - Turn on Camera Normal <gen>
-
-
Else - Actions
-
-
-
-
Camera Normal
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Camera - Set Player 1 (Red)'s camera Distance to target to 500.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Angle of attack to 343.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Height Offset to 70.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Sorceress) over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Wizard) over 0.10 seconds
-
-
-
Camera Heightened
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Camera - Set Player 1 (Red)'s camera Distance to target to 600.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Angle of attack to 290.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Height Offset to 80.00 over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Sorceress) over 0.10 seconds
-
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Wizard) over 0.10 seconds
-
-