visiblePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 15: Line 15:
| Returns an object's rendered position (z value above surface underneath) in render time scope. Same as [[getPosVisual]]
| Returns an object's rendered position (z value above surface underneath) in render time scope. Same as [[getPosVisual]]


|'''visiblePosition''' object
|s1= '''visiblePosition''' object


|p1= object: [[Object]]: - name of the object
|p1= object: [[Object]]: - name of the object

Revision as of 00:32, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
PositionsRender Time Scope

Syntax

Syntax:
visiblePosition object
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.