• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Lock Camera Angle

Status
Not open for further replies.
Level 7
Joined
May 30, 2018
Messages
290
Is it possible to lock the camera angle so it faces another direction than the base camera angle for the duration of the whole game? Basically the game starts and every player's camera is rotated to said angle.

Thank you for any help :)!
 
Level 7
Joined
Oct 3, 2014
Messages
657
This will do, but I hope someone add better GUI/jass cause I think there are leaks in it
Add the event periodic timer set it to "every 0.01", change the angle of the game camera in the "game" trigger section(as far as I remember this can make the game crash)
 
Level 7
Joined
May 30, 2018
Messages
290
Mhhh it doesn't really seem to work :/ maybe I implemented it wrong....anyways maybe there are other ideas, which maybe don't have to many leaks :I

Thanks to you anyways @Fang !
 
Level 9
Joined
Jul 30, 2018
Messages
445
Fang's suggestion should work just fine. Can you show what you did? There must be some error, because really all you need to do is this kind of trigger:

  • Camera Angle
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Set (Picked player)'s camera Angle of attack to YourWantedAngle over 0.00 seconds
Alternatively, not trying to advertise too much, but you can use something like this as well: Combined Camera Slider System v1.0.18 (Though, if all that you want is the angle, a system like this might be a little more than needed)
 
Status
Not open for further replies.
Top