camDestroy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(format, description note)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Destroy an object created with [[camCreate]].camDestroy is conducted immediately, the command doesn't wait for [[camCommit]]. |= Description
| Destroy an object created with [[camCreate]]. [[camDestroy]] is conducted immediately, the command doesn't wait for [[camCommit]].
<br><br>'''NOTE:''' Destroying camera object does not terminate camera effect automatically. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 23:
   
   
|x1= <code>[[camDestroy]] _cam;</code> |= Example 1
|x1= <code>[[camDestroy]] _cam;</code> |= Example 1
|x2= <code>
|x2= <code>_cam [[cameraEffect]] ["terminate","back"];
[[player]] [[cameraEffect]] ["terminate","back"];
[[camDestroy]] _cam;</code> |= Example 2
[[camDestroy]] _cam;
</code> |= Example 2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 01:23, 30 October 2014

Hover & click on the images for description

Description

Description:
Destroy an object created with camCreate. camDestroy is conducted immediately, the command doesn't wait for camCommit.

NOTE: Destroying camera object does not terminate camera effect automatically.
Groups:
Uncategorised

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

Notes

Bottom Section