visiblePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
|x1= <code>playerRenderedPos = [[visiblePosition]] [[player]];</code>
|x1= <code>playerRenderedPos = [[visiblePosition]] [[player]];</code>


| [[getPosVisual]], [[getPosATLVisual]], [[getPosASLVisual]], [[getPosWorldVisual]], [[visiblePositionASL]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]]
|seealso= [[getPosVisual]], [[getPosATLVisual]], [[getPosASLVisual]], [[getPosWorldVisual]], [[visiblePositionASL]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]]
}}
}}



Revision as of 01:13, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
PositionsRender Time Scope

Syntax

Syntax:
Syntax needed
Parameters:
object: Object: - name of the object
Return Value:
Return value needed

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.