cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|1.00
|version1= 1.00


|game2= arma2
|game2= arma2
Line 18: Line 18:
|gr1= Camera Control
|gr1= Camera Control


| Returns the vehicle to which the camera is attached.
|descr= Returns the vehicle to which the camera is attached.


|r1= [[cameraOn]]
|s1= [[cameraOn]]
 
|r1= [[Object]]


|x1= <code>_object = [[cameraOn]];</code>
|x1= <code>_object = [[cameraOn]];</code>
| [[Object]]


|seealso= [[switchCamera]], [[cameraView]], [[cameraEffect]]
|seealso= [[switchCamera]], [[cameraView]], [[cameraEffect]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 17:39, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns the vehicle to which the camera is attached.
Groups:
Camera Control

Syntax

Syntax:
cameraOn
Return Value:
Object

Examples

Example 1:
_object = cameraOn;

Additional Information

See also:
switchCameracameraViewcameraEffect

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