USE:
Makes the camera focus on the given actor or point.
TYPE: Command, Non-Ref
RETURNS: /
THEME: Camera
COMPARE: cameraMove()
EXAMPLE:
Code: Select all
cameraMove( 0, 0, 800 ) // Move camera to the middle of the room
cameraFocus(MainActor) // Make cam point to the main actor
// OR
MainActor.show(40,5,0) // Make main actor walk to the door
cameraFocus(40,5,200) // Make the cam focus the door
// cameraFocus(MainActor) // would not do the same, as the cam would focus on the position that the actor currently is at (not the destination)