cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset version to 1.00)
No edit summary
 
(47 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.00


|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Returns the vehicle to which the camera is attached. |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| '''cameraOn''' |= Syntax
|game4= tkoh
|version4= 1.00


| [[Object]] |= Return value
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| |= See also
|gr1= Camera Control
|gr2= Remote Control


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


<h3 style="display:none">Notes</h3>
|s1= [[cameraOn]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Object]] - vehicle
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>_object = cameraOn;</sqf>


[[Category:Scripting Commands|CAMERAON]]
|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]] [[focusOn]] [[remoteControl]]
[[Category:Scripting Commands ArmA|CAMERAON]]
}}
 
[[Category:Command Group: Camera Control|CAMERAON]]

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