getPosATLVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|1.32|= Game version
|version1= 1.32
|arg= global|= Arguments in MP
|arg= global
____________________________________________________________________________________________


| Returns an object's rendered [[PositionATL|3D position ATL]] (z value above ground) in render time scope. |DESCRIPTION=
|gr1= Object Manipulation
____________________________________________________________________________________________
|gr2= Render Time Scope


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


|s1= [[getPosATLVisual]] object


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


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


____________________________________________________________________________________________
|x1= <sqf>_playerRenderedPosATL = getPosATLVisual player;</sqf>
 
|x1= <code>_playerRenderedPosATL = [[getPosATLVisual]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[getPosVisual]], [[getPosASLVisual]], [[visiblePositionASL]], [[visiblePosition]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] |SEEALSO=


|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>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Render Time Scope 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