Difference between revisions of "getPosATLVisual"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - " |r1=[[" to " |r1= [[")
 
(27 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 [[PositionATL|3D position ATL]] (z value above ground) in render time scope.
  
 +
|s1= [[getPosATLVisual]] object
  
|p1= object: [[Object]]: - name of the object |PARAMETER1=
+
|p1= object: [[Object]]: - name of the object
  
| [[Array]] - format [[PositionATL]] |RETURNVALUE=
+
|r1= [[Array]] - format [[PositionATL]]
  
____________________________________________________________________________________________
 
 
    
 
    
|x1= <code>_playerRenderedPosATL = [[getPosATLVisual]] [[player]];</code> |EXAMPLE1=
+
|x1= <code>_playerRenderedPosATL = [[getPosATLVisual]] [[player]];</code>
____________________________________________________________________________________________
 
 
 
| [[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 00:48, 8 August 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