visiblePosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|p([0-9]{1,2})=([^ ]+) + \| *(\[\[Arr.+) * " to " |p$1=$2 |r1=$3 ") |
Lou Montana (talk | contribs) m (Text replacement - "</dd> </dl>" to "</dd> </dl>") |
||
Line 40: | Line 40: | ||
Z (visiblePosition select 2) works but if unit/object is in a building, Z remains at ground level. If you need Z depending on building floors/stages, use getPosAtl select 2 instead. | Z (visiblePosition select 2) works but if unit/object is in a building, Z remains at ground level. If you need Z depending on building floors/stages, use getPosAtl select 2 instead. | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 17:10, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- PositionsRender Time Scope
Syntax
- Syntax:
- visiblePosition object
- Parameters:
- object: Object: - name of the object
- Return Value:
- Array - format PositionAGLS
Examples
- Example 1:
playerRenderedPos = visiblePosition player;
Additional Information
- See also:
- getPosVisualgetPosATLVisualgetPosASLVisualgetPosWorldVisualvisiblePositionASLpositiongetPosgetPosATLgetPosASLgetPosASLW
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
- Posted on February 4, 2015 - 17:04 (UTC)
- Pierre MGI
- Z (visiblePosition select 2) works but if unit/object is in a building, Z remains at ground level. If you need Z depending on building floors/stages, use getPosAtl select 2 instead.