eyePos: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (template:command argument fix) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
| arma2oa |= Game name | | arma2oa |= Game name | ||
|1.62|= Game version | |1.62|= Game version | ||
|arg= global|= Arguments in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the object's eyes / main turret position. |= | | Returns the object's eyes / main turret position. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''eyePos''' object |= | | '''eyePos''' object |SYNTAX= | ||
|p1= object: [[Object]] |= | |p1= object: [[Object]] |PARAMETER1= | ||
| [[Array]] - format [[PositionASL]] |= | | [[Array]] - format [[PositionASL]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>'''eyePos''' [[player]]</code> |= | |x1= <code>'''eyePos''' [[player]]</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getPosASL]], [[setPosASL]], [[setPosASL2]] |= | | [[eyeDirection]], [[getPosASL]], [[setPosASL]], [[setPosASL2]], [[getCameraViewDirection]], [[positionCameraToWorld]] |SEEALSO= | ||
}} | }} |
Revision as of 15:39, 7 April 2019
Description
- Description:
- Returns the object's eyes / main turret position.
- Groups:
- Uncategorised
Syntax
- Syntax:
- eyePos object
- Parameters:
- object: Object
- Return Value:
- Array - format PositionASL
Examples
- Example 1:
eyePos player
Additional Information
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