camDestroy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 32: Line 32:
}}
}}


<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|CAMDESTROY]]
[[Category:Scripting Commands|CAMDESTROY]]

Revision as of 02:32, 18 January 2021

Hover & click on the images for description

Description

Description:
Destroys camera object created with camCreate. This command doesn't need camCommit.

Destroying camera object does not terminate camera effect automatically, use cameraEffect prior to deleting the camera (see Example 2)
Groups:
Camera Control

Syntax

Syntax:
camDestroy object
Parameters:
object: Object
Return Value:
Nothing

Examples

Example 1:
camDestroy _cam;
Example 2:
_cam cameraEffect ["terminate","back"]; camDestroy _cam;

Additional Information

See also:
camCreatecameraEffect

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note