cameraOn: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Mizzle420420 (talk | contribs) No edit summary |
||
Line 35: | Line 35: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{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 16:50, 2 November 2015
Description
- Description:
- Returns the vehicle to which the camera is attached.
- Groups:
- Uncategorised
Syntax
Examples
- Examples:
- Example needed
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.