Difference between revisions of "cameraEffect"

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 49: Line 49:
[[Category:Command Group: Camera Control|CAMERAEFFECT]]
[[Category:Command Group: Camera Control|CAMERAEFFECT]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 06:09, 19 July 2011

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions


Switch to the given camera or object with the given effect. If you want to switch the screen directly to the first-person, aiming, third-person or group view of an object, use switchCamera instead.The effect type "Terminate" is used to exit the current camera view and switch back to the player's view.Needs the call of camCommit to be conducted.


camera cameraEffect [name, position]
camera: Object - object of type "camera"
[name, position]: Array
name: String - the effect type. One of "Internal", "External", "Fixed", "FixedWithZoom" and "Terminate"
position: String - position of the effect. One of "TOP", "LEFT", "RIGHT", "FRONT" and "BACK" ("BACK" is normally used)
Return Value:


Example 1:
_cam cameraEffect ["internal", "BACK"]

Additional Information

See also:


Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.


Bottom Section