camDestroy: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 28: | Line 28: | ||
|eff= local | |eff= local | ||
| Destroys camera object created with [[camCreate]]. This command doesn't need [[camCommit]]. | |descr= Destroys camera object created with [[camCreate]]. This command doesn't need [[camCommit]]. | ||
{{Feature | important | Destroying camera object does not terminate camera effect automatically, use [[cameraEffect]] prior to deleting the camera (see Example 2)}} | {{Feature | important | Destroying camera object does not terminate camera effect automatically, use [[cameraEffect]] prior to deleting the camera (see Example 2)}} | ||
Revision as of 21:01, 13 June 2021
Description
- Description:
- Destroys camera object created with camCreate. This command doesn't need camCommit.
- 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
Categories:
- Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Camera Control
- Scripting Commands: Local Effect