getPosATLVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to " ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(23 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 [[Position#PositionATL|ATL position]] (z value above ground) in render time scope.


|'''getPosATLVisual''' object
|s1= [[getPosATLVisual]] object


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


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


 
|x1= <sqf>_playerRenderedPosATL = getPosATLVisual player;</sqf>
|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]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
getPosATLVisual object
Parameters:
object: Object
Return Value:
Array format PositionATL

Examples

Example 1:
_playerRenderedPosATL = getPosATLVisual player;

Additional Information

See also:
getPosVisual getPosASLVisual getPosWorldVisual visiblePositionASL visiblePosition position getPos getPosATL getPosASL getPosASLW

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