• 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.

Camera bounds problem...

Status
Not open for further replies.
Level 25
Joined
Jun 5, 2008
Messages
2,573
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