camCommitted

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Checks if the conduction of the last camCommit call already finished.

Syntax

Syntax:
Boolean = camCommitted camera
Parameters:
camera: Object - object of type "camera"
Return Value:
Boolean - true if the last camCommit already finished, false if not

Examples

Example 1:
; create a camera object
_cam = "camera" camCreate [5600,4800,10]
_cam camSetTarget player
_cam cameraEffect ["internal", "BACK"]
_cam camCommit 0

; smoothly move the camera to its new position in 6 seconds
_cam camSetPos [5680,4720,20]
_cam camCommit 6
@camCommitted _cam

; proceed

Additional Information

Multiplayer:
Behaviour unknown.
See also:
camCommit

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!