cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 17: Line 17:


|gr1= Camera Control
|gr1= Camera Control
|gr2= Remote Control


|descr= Returns the vehicle to which the camera is attached.
|descr= Returns the vehicle to which the camera is attached. If you need the person, see [[focusOn]].


|s1= [[cameraOn]]
|s1= [[cameraOn]]


|r1= [[Object]]
|r1= [[Object]] - vehicle


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


|seealso= [[switchCamera]] [[cameraView]], [[cameraEffect]]
|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]] [[focusOn]] [[remoteControl]]
}}
}}

Latest revision as of 10:55, 5 September 2023

Hover & click on the images for description

Description

Description:
Returns the vehicle to which the camera is attached. If you need the person, see focusOn.
Groups:
Camera ControlRemote Control

Syntax

Syntax:
cameraOn
Return Value:
Object - vehicle

Examples

Example 1:
_object = cameraOn;

Additional Information

See also:
switchCamera cameraView cameraEffect focusOn remoteControl

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