The same way you set any other camera flag. Just add it to the list of flags in the alcscript for the camera object. (not the camera region object)
- Code: Select all
DoorCamRegion:
region:
type: camera
camera:
messages:
- newcam: DoorCam
DoorCam:
camera:
brain:
type: fixed
xpanlimit: 0.4
zpanlimit: 0.4
poa: 0,0,6
flags:
- followlocalavatar
- cutposonce
The cutposonce flag should cause the camera to "snap" to a new location, cutting out the slow flying time, but after that one cut, it should behave normally and smoothly. The current issue with the cameras in Pahts going through walls is that the "cutpos" flag is set, which causes the camera to "snap" to it's intended position
all the time, thus ignoring walls and other obstacles.