cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Page cleaning)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object]] <nowiki>=</nowiki> [[cameraOn]] |SYNTAX=
| [[cameraOn]] |SYNTAX=


|x1= <code>_object = [[cameraOn]];</code> |Example 1=
|x1= <code>_object = [[cameraOn]];</code> |Example 1=
Line 18: Line 18:


| [[switchCamera]], [[cameraView]], [[cameraEffect]] |SEEALSO=
| [[switchCamera]], [[cameraView]], [[cameraEffect]] |SEEALSO=
}}
}}


Line 30: Line 29:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|CAMERAON]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|CAMERAON]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command Group: Camera Control|CAMERAON]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 2, 2015 - 15:50 (UTC)</dd>
<dt class="note">[[User:Mizzle420420|Mizzle420420]]</dt>
<dd class="note">
<code> _MyScreenPos = getPos cameraOn; <code>
This would getPos for the current player or vehicle that the client's camera is attached to.
 
<code> _CameraOnSetPos = cameraOn setPos _pos; <code>
This would do setPos for the current player or vehicle that the client's camera is attached to.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 13:34, 17 August 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the vehicle to which the camera is attached.
Groups:
Uncategorised

Syntax

Syntax:
cameraOn
Return Value:
Object

Examples

Example 1:
_object = cameraOn;

Additional Information

See also:
switchCameracameraViewcameraEffect

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

Notes

Bottom Section