cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
Line 24: Line 24:
|r1= [[Object]]
|r1= [[Object]]


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


|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]]
|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]]
}}
}}

Revision as of 22:21, 7 May 2022

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:
switchCamera cameraView cameraEffect

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