position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(seealso)
No edit summary
Line 39: Line 39:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Notes: Improper Formatting|{{uc:{{PAGENAME}}}}]]
[[Category:Notes: Improper Formatting|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 4, 2014 - 03:09 (UTC)</dd>
<dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt>
<dd class="note">
[http://forums.bistudio.com/showthread.php?183933-CODE-SNIPPET-amp-Extremely-important-note-regarding-position-accuracy-(to-some) I wrote a post in the Arma3 section of the forums regarding accuracy of this command because of rounding, along with a small workaround I developed. (click here) Untested, but this issue probably exists in Arma2 as well.]
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 05:09, 4 October 2014

Hover & click on the images for description

Description

Description:
Synonym for getPos.
Groups:
Uncategorised

Syntax

Syntax:
Array = position object
Parameters:
object: Object; since VBS2 1.24: Location
Return Value:
Array - format Position

Examples

Example 1:
_Pos = position player

Additional Information

See also:
position locationgetPosgetPosATLgetPosASLgetPosASLWvisiblePositiongetPosVisualvisiblePositionASL

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

command can be called with destroyed object as parameter

Bottom Section

Posted on October 4, 2014 - 03:09 (UTC)
DreadedEntity
I wrote a post in the Arma3 section of the forums regarding accuracy of this command because of rounding, along with a small workaround I developed. (click here) Untested, but this issue probably exists in Arma2 as well.