visiblePosition: Difference between revisions
Jump to navigation
Jump to search
m (→See Also) |
No edit summary |
||
Line 40: | Line 40: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Render Time Scope Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Render Time Scope Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on February 4, 2015 - 17:04 (UTC)</dd> | |||
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt> | |||
<dd class="note"> | |||
Z (visiblePosition select 2) works but if unit/object is in a building, Z remains at ground level. If you need Z depending on building floors/stages, use getPosAtl select 2 instead. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 19:04, 4 February 2015
Description
- Description:
- Returns an object's rendered position (z value above surface underneath) in render time scope. Same as getPosVisual
- Groups:
- Uncategorised
Syntax
- Syntax:
- visiblePosition object
- Parameters:
- object: Object: - name of the object
- Return Value:
- Array - format Position
Examples
- Example 1:
playerRenderedPos = visiblePosition player;
Additional Information
- See also:
- getPosVisualgetPosATLVisualgetPosASLVisualvisiblePositionASLpositiongetPosgetPosATLgetPosASLgetPosASLW
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
- Posted on February 4, 2015 - 17:04 (UTC)
- Pierre MGI
- Z (visiblePosition select 2) works but if unit/object is in a building, Z remains at ground level. If you need Z depending on building floors/stages, use getPosAtl select 2 instead.
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.60
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Render Time Scope Scripting Commands