position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(vbs2: location)
m (Added to A2 commands.)
Line 35: Line 35:
[[Category:Scripting Commands OFP 1.96|POSITION]]
[[Category:Scripting Commands OFP 1.96|POSITION]]
[[Category:Scripting Commands ArmA|POSITION]]
[[Category:Scripting Commands ArmA|POSITION]]
[[Category:Scripting Commands ArmA2|POSITION]]

Revision as of 19:04, 11 October 2009

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 locationgetPos

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