cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
No edit summary
 
(42 intermediate revisions by 8 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


| [[Object]] <nowiki>=</nowiki> '''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]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

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