position: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Reverted edits by Heecf..... (talk) to last revision by T DBot) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.5|= Game version | |||
____________________________________________________________________________________________ | |||
| Synonym for [[getPos]]. |= Description | |||
____________________________________________________________________________________________ | |||
| [[Array]] <nowiki>=</nowiki> '''position''' object |= Syntax | |||
|p1= object: [[Object]]; since VBS2 1.24: [[Location]] |= Parameter 1 | |||
| [[Array]] - format [[Position]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <code>_Pos<nowiki> =</nowiki> position [[player]]</code> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[position_location|position location]], [[getPos]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
command can be called with destroyed object as parameter | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|POSITION]] | |||
[[Category:Scripting Commands OFP 1.96|POSITION]] | |||
[[Category:Scripting Commands ArmA|POSITION]] | |||
[[Category:Scripting Commands ArmA2|POSITION]] | |||
Revision as of 00:22, 21 August 2012
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