[General] Visibility and Camera Boundaries Method

Status
Not open for further replies.
Hello all, I want to ask if you know a method to set only a specific region to be visible and the camera to be free only within this region. Meaning, you would see all the other parts of the map in black mask except the selected region and the camera also will not be able to be moved outside this region. Can someone help about this?
 
^ that's the better implementation, although it makes the minimap meaningless.

If you want to keep the whole minimap, you'll need to make a trigger that moves the camera if it leaves your boundary region.

Every 0.03 sec
set x = x of (location of camera)
set y = y of (location of camera)
if x > max x of region, set camera x to max x of region
etc
 
Status
Not open for further replies.
Back
Top