• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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