cameraOn: Difference between revisions
Jump to navigation
Jump to search
m (example) |
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
||
Line 29: | Line 29: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
Line 51: | Line 42: | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> | ||
[[Category:Scripting Commands|CAMERAON]] | |||
[[Category:Scripting Commands ArmA|CAMERAON]] | |||
[[Category:Command Group: Camera Control|CAMERAON]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Arma 3: Scripting Commands]] | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:48, 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.