cameraOn: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 108184 by R3vo on 2018-06-08T10:31:17Z) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the vehicle to which the camera is attached. |= | | Returns the vehicle to which the camera is attached. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Object]] <nowiki>=</nowiki> [[cameraOn]] |= | | [[Object]] <nowiki>=</nowiki> [[cameraOn]] |SYNTAX= | ||
|x1= <code>_object = [[cameraOn]];</code> |Example 1= | |x1= <code>_object = [[cameraOn]];</code> |Example 1= | ||
| [[Object]] |= | | [[Object]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[switchCamera]], [[cameraView]], [[cameraEffect]] |= | | [[switchCamera]], [[cameraView]], [[cameraEffect]] |SEEALSO= | ||
}} | }} |
Revision as of 14:34, 7 April 2019
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.