position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|POSITION]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|POSITION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|POSITION]]


| ofpr |= Game name


<h2 style="color:#000066">'''position ''object'''''</h2>
|1.5|= Game version
____________________________________________________________________________________________


| Object position in format [[Position]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''position''' object |= Syntax


'''object:''' [[Object]]
|p1= object: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>pPos = position [[player]]</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.50'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Object position in format [[Position]].
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|POSITION]]
 
[[Category:Scripting Commands OFP 1.96|POSITION]]
'''Example:'''
[[Category:Scripting Commands ArmA|POSITION]]
 
pPos = '''position''' [[player]]

Revision as of 00:02, 2 August 2006

Hover & click on the images for description

Description

Description:
Object position in format Position.
Groups:
Uncategorised

Syntax

Syntax:
position object
Parameters:
object: Object
Return Value:
Array

Examples

Example 1:
pPos = position [[player]]

Additional Information

See also:
See also needed

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