• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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
 
Level 9
Joined
Nov 14, 2010
Messages
215
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.
Top