camera rotation trigger

Status
Not open for further replies.
Next time, post in the World Editor Help Section...

  • rotaterightini
    • Events
      • Player - Player 1 (Red) Presses the Right Arrow key
    • Conditions
    • Actions
      • Trigger - Turn on rotateright <gen>
  • rotateright
    • Events
      • Time - Every 0.27 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Point = (Position of (Some Unit))
      • Camera - Rotate camera -1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds
      • Custom script: call RemoveLocation(udg_Temp_Point)
  • rotaterightstop
    • Events
      • Player - Player 1 (Red) Releases the Right Arrow key
    • Conditions
    • Actions
      • Trigger - Turn off rotateright <gen>
I'm not entirely sure if this works. If it doesn't, change
Camera - Rotate camera -1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds

to

Camera - Rotate camera 1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds
 
Next time, post in the World Editor Help Section...

  • rotaterightini
    • Events
      • Player - Player 1 (Red) Presses the Right Arrow key
    • Conditions
    • Actions
      • Trigger - Turn on rotateright <gen>
  • rotateright
    • Events
      • Time - Every 0.27 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Point = (Position of (Some Unit))
      • Camera - Rotate camera -1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds
      • Custom script: call RemoveLocation(udg_Temp_Point)
  • rotaterightstop
    • Events
      • Player - Player 1 (Red) Releases the Right Arrow key
    • Conditions
    • Actions
      • Trigger - Turn off rotateright <gen>
I'm not entirely sure if this works. If it doesn't, change
Camera - Rotate camera -1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds

to

Camera - Rotate camera 1.00 degrees around Temp_Point for Player 1 (Red) over 0.00 seconds
srry does not work
 
Try this
  • rotaterightini
    • Events
      • Player - Player 1 (Red) Presses the Right Arrow key
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode On for (All players)
      • Trigger - Turn on rotateright <gen>
      • Trigger - Run rotateright <gen> (ignoring conditions)
  • rotateright
    • Events
    • Conditions
    • Actions
      • Set Temp_Point = (Position of (Some Unit))
      • Camera - Rotate camera 360.00 degrees around Temp_Point for Player 1 (Red) over 15.00 seconds
      • Custom script: call RemoveLocation(udg_Temp_Point)
  • rotaterightstop
    • Events
    • Conditions
    • Actions
      • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
      • Cinematic - Turn cinematic mode Off for (All players)
      • Trigger - Turn off rotateright <gen>
rotateright is initially off, you have to configure your own event for rotaterightstop. Release right key doesn't seem to work...
 
Status
Not open for further replies.
Back
Top