getPosATLVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
|1.32
|version1= 1.32
|arg= global
|arg= global


Line 8: Line 8:
|gr2= Render Time Scope
|gr2= Render Time Scope


| Returns an object's rendered [[PositionATL|3D position ATL]] (z value above ground) in render time scope.
|descr= Returns an object's rendered [[PositionATL|3D position ATL]] (z value above ground) in render time scope.
 
|'''getPosATLVisual''' object


|s1= [[getPosATLVisual]] object


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


| [[Array]] - format [[PositionATL]]
|r1=[[Array]] - format [[PositionATL]]


    
    
|x1= <code>_playerRenderedPosATL = [[getPosATLVisual]] [[player]];</code>
|x1= <code>_playerRenderedPosATL = [[getPosATLVisual]] [[player]];</code>


| [[getPosVisual]], [[getPosASLVisual]], [[getPosWorldVisual]], [[visiblePositionASL]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]]
|seealso= [[getPosVisual]], [[getPosASLVisual]], [[getPosWorldVisual]], [[visiblePositionASL]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]]
 
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 18:06, 20 June 2021

Hover & click on the images for description

Description

Description:
Returns an object's rendered 3D position ATL (z value above ground) in render time scope.
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
getPosATLVisual object
Parameters:
object: Object: - name of the object
Return Value:
Array - format PositionATL

Examples

Example 1:
_playerRenderedPosATL = getPosATLVisual player;

Additional Information

See also:
getPosVisualgetPosASLVisualgetPosWorldVisualvisiblePositionASLvisiblePositionpositiongetPosgetPosATLgetPosASLgetPosASLW

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