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!
The camera in my map is custom, it's higher than the default, and when I scroll with the mouse then the camera becomes default. How can I control this?
You can also have a periodic trigger constantly reset the camera to the higher position, but this will completely disable the option of zooming in by scrolling.
That's quite inefficient, not that I think it'll impact today's computers too much but it's something you might want to take into consideration in a large map.
The camera in my map is custom, it's higher than the default, and when I scroll with the mouse then the camera becomes default. How can I control this?
As Anitarf suggested, set default camera distance and then use periodic trigger that will set camera distance to your default height for each player.
You will still be able to move the camera up down as you scroll with mouse. And for zooming part, you will have to make an array variables and dedicated trigger that will register triggering player that wrote some kind of command to change the zoom, as I have.
Camera - Set Player 1 (Red)'s camera Rotation to (90.00 + ViewAngle) over 0.50 seconds
Camera - Set Player 1 (Red)'s camera Distance to target to 1270.00 over 0.50 seconds
Camera - Pan camera for Player 1 (Red) to temploc over 0.00 seconds
Custom script: call RemoveLocation(udg_temploc)
I use this rather than lock camera because lock camera looks too ridged and disables minimap click-moving. I've noticed no lag, but with an 8 player map it might get slightly more burdensome.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.