position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(vbs2: location)
Line 12: Line 12:
| [[Array]] <nowiki>=</nowiki> '''position''' object |= Syntax
| [[Array]] <nowiki>=</nowiki> '''position''' object |= Syntax


|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]]; since VBS2 1.24: [[Location]] |= Parameter 1


| [[Array]] - format [[Position]] |= Return value
| [[Array]] - format [[Position]] |= Return value

Revision as of 16:45, 5 May 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