- Joined
- Jun 8, 2010
- Messages
- 283
So basically im trying to achieve is rotating the camera 360 degrees around a unit. To be clear, I dont mean it will rotate aorund a unit a FULL 360 for a Left Press and a -360 for a Right press, but bit by bit.
I want the camera to rotate x degrees when a player presses a key.
I have two triggers, one that sets the variable (left, right,down,up) to true when the corresponding keys are pressed.
Following that this trigger will fire:
I want the camera to rotate x degrees when a player presses a key.
I have two triggers, one that sets the variable (left, right,down,up) to true when the corresponding keys are pressed.
Following that this trigger will fire:
-
Set Camera 2
-

Events
-


Time - Every 0.01 seconds of game time
-
-

Conditions
-

Actions
-


Player Group - Pick every player in Player Group - Player 1 (Red) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






CurrentCamera[(Player number of (Picked player))] Equal to 2
-






Right[(Player number of (Triggering player))] Equal to True
-
-





Then - Actions
-






Camera - Set (Triggering player)'s camera Rotation to -1.00 over 1.00 seconds
-
-





Else - Actions
-
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






CurrentCamera[(Player number of (Picked player))] Equal to 2
-






Left[(Player number of (Triggering player))] Equal to True
-
-





Then - Actions
-






Camera - Set (Triggering player)'s camera Rotation to 1.00 over 1.00 seconds
-
-





Else - Actions
-
-
-
-
-

