Page tree
Skip to end of metadata
Go to start of metadata




Introduced in

Version:1.00

Description

Description:Smoothly conduct the changes that assigned to a camera within the given time. If the time is set to 0, the changes are applied immediately.

Syntax

Syntax:camera camCommitPrepared time
Parameters:
  • camera: Object - Object of type "camera".
  • time: Number - Time (in seconds) during which the changes are applied.
Return Value:Nothing

Examples

Examples:// Create a camera object

_cam = "camera" camCreate [5600,4800,10]
_cam camPrepareTarget player
_cam cameraEffect ["internal", "BACK"]
_cam camCommitPrepared 0

// Smoothly move the camera to its new position in 6 seconds
_cam camPreparePos [5680,4720,20]
_cam camCommitPrepared 6
camCommitted _cam

Additional Information

See also: camCommitted
Multiplayer: 
Problems: 

Notes