• 🏆 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 bounds problem...

Status
Not open for further replies.
Level 25
Joined
Jun 5, 2008
Messages
2,572
Can camera bounds be made so that you can move it everywhere except some region, example i want to be able to move the camera everywhere except the middle of my map can it be done by checking map position x,y or even by somehow removing some regions from the camera bounds?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Trackers maybe but they still wouldnt keep you from seeing that region if its not single player
 
Level 6
Joined
Sep 13, 2008
Messages
261
Heres one way to do it.
You can change the triggers to be for individual units or for regions.
Each unit can make the camera jump back to where the unit isnt visible.
You just need to set up a perimeter using units like in the attachment.

I would set up a more in depth example but it would take too long.
To keep your unit from leaving the camera view you just need to set up pathing blockers as well.

If you didnt know there are also visibility blockers that make a unit keep its fog of war unless you are inside their perimeter.

The area that you cant put camera over is in the top right corner you cant put camera over it if you can see the units there.

If you would like help setting up triggers similar to mine you are welcome to pm me.

If this doesn't help you sorry, I tried :(.
 
Last edited:
Status
Not open for further replies.
Top