cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|version1= 1.00


|1.00
|game2= arma2
|version2= 1.00


|gr1 = Camera Control
|game3= arma2oa
|version3= 1.50


| Returns the vehicle to which the camera is attached.
|game4= tkoh
|version4= 1.00


| [[cameraOn]]
|game5= arma3
|version5= 0.50


|x1= <code>_object = [[cameraOn]];</code>
|gr1= Camera Control
|gr2= Remote Control


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


| [[switchCamera]], [[cameraView]], [[cameraEffect]]
|s1= [[cameraOn]]
}}
 
|r1= [[Object]] - vehicle


|x1= <sqf>_object = cameraOn;</sqf>


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]] [[focusOn]] [[remoteControl]]
{{GameCategory|arma1|Scripting Commands}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 09: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