cameraOn: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
m (Bot: Reverted to revision 108184 by R3vo on 2018-06-08T10:31:17Z) |
||
Line 29: | Line 29: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|CAMERAON]] | |||
[[Category:Scripting Commands ArmA|CAMERAON]] | |||
[[Category:Command Group: Camera Control|CAMERAON]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
Line 42: | Line 51: | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> | ||
Revision as of 18:01, 3 December 2018
Description
- Description:
- Returns the vehicle to which the camera is attached.
- Groups:
- Uncategorised
Syntax
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
- Posted on November 2, 2015 - 15:50 (UTC)
- Mizzle420420
-
_MyScreenPos = getPos cameraOn;
This would getPos for the current player or vehicle that the client's camera is attached to.
_CameraOnSetPos = cameraOn setPos _pos;
This would do setPos for the current player or vehicle that the client's camera is attached to.