visiblePositionASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)?\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 8: Line 7:
|gr1= Positions |GROUP1=
|gr1= Positions |GROUP1=
|gr2= Render Time Scope |GROUP2=
|gr2= Render Time Scope |GROUP2=
____________________________________________________________________________________________


| Returns an object's rendered [[PositionASL|3D position ASL]] (z value above sea level) in render time scope. |DESCRIPTION=
| Returns an object's rendered [[PositionASL|3D position ASL]] (z value above sea level) in render time scope. |DESCRIPTION=
____________________________________________________________________________________________


|'''visiblePositionASL''' object |SYNTAX=
|'''visiblePositionASL''' object |SYNTAX=
Line 20: Line 17:
| [[Array]] - format [[PositionASL]] |RETURNVALUE=
| [[Array]] - format [[PositionASL]] |RETURNVALUE=


____________________________________________________________________________________________
    
    
|x1= <code>playerRenderedPosASL = [[visiblePositionASL]] player;</code> |EXAMPLE1=
|x1= <code>playerRenderedPosASL = [[visiblePositionASL]] player;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[getPosVisual]], [[getPosASLVisual]], [[getPosATLVisual]], [[getPosWorldVisual]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] |SEEALSO=
| [[getPosVisual]], [[getPosASLVisual]], [[getPosATLVisual]], [[getPosWorldVisual]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] |SEEALSO=

Revision as of 05:21, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns an object's rendered 3D position ASL (z value above sea level) in render time scope.
Groups:
PositionsRender Time Scope

Syntax

Syntax:
visiblePositionASL object
Parameters:
object: Object: - name of the object
Return Value:
Array - format PositionASL

Examples

Example 1:
playerRenderedPosASL = visiblePositionASL player;

Additional Information

See also:
getPosVisualgetPosASLVisualgetPosATLVisualgetPosWorldVisualvisiblePositionpositiongetPosgetPosATLgetPosASLgetPosASLW

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

Notes

Bottom Section