getPosVisual: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (AGLS) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns an object's rendered [[Position|3D position]] (z value above sea when over sea, or above ground when over land) in render time scope. Alias of [[visiblePosition]]. |= | | Returns an object's rendered [[Position|3D position]] (z value above sea when over sea, or above ground when over land) in render time scope. Alias of [[visiblePosition]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|'''getPosVisual''' object |= | |'''getPosVisual''' object |SYNTAX= | ||
|p1= object: [[Object]]: - name of the object |= | |p1= object: [[Object]]: - name of the object |PARAMETER1= | ||
| [[Array]] - format [[PositionAGLS]] |= | | [[Array]] - format [[PositionAGLS]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_playerRenderedPos = [[getPosVisual]] [[player]];</code> |= | |x1= <code>_playerRenderedPos = [[getPosVisual]] [[player]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getPosASLVisual]], [[getPosATLVisual]], [[visiblePositionASL]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] |= | | [[getPosASLVisual]], [[getPosATLVisual]], [[visiblePositionASL]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] |SEEALSO= | ||
}} | }} |
Revision as of 14:40, 7 April 2019
Description
- Description:
- Returns an object's rendered 3D position (z value above sea when over sea, or above ground when over land) in render time scope. Alias of visiblePosition.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getPosVisual object
- Parameters:
- object: Object: - name of the object
- Return Value:
- Array - format PositionAGLS
Examples
- Example 1:
_playerRenderedPos = getPosVisual player;
Additional Information
- See also:
- getPosASLVisualgetPosATLVisualvisiblePositionASLvisiblePositionpositiongetPosgetPosATLgetPosASLgetPosASLW
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