Difference between revisions of "setPosASL"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|SETPOSASL]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETPOSASL]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETPOSASL]]
 
  
 +
| arma |= Game name
  
<h2 style="color:#000066">'''''obj'' setPosASL ''pos'''''</h2>
+
|2.53|= Game version
 +
____________________________________________________________________________________________
  
 +
| Sets the object position. The pos array uses the [[PositionASL]] format. |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| obj '''setPosASL''' pos |= Syntax
  
'''obj:''' [[Object]]
+
|p1= obj: [[Object]] |= Parameter 1
  
'''pos:''' [[Array]]
+
|p2= pos: [[Array]] |= Parameter 2
  
'''Type of returned value:'''
+
| [[Nothing]] |= Return value
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <pre>player setPosASL [ [[getPosASL]] [[player]] [[select]] 0, [[getPosASL]] [[player]] [[select]] 1 + 10, [[getPosASL]] [[select]] 2]</pre> |= Example 1
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
|  |= See also
  
'''Compatibility:'''
+
}}
  
Version 2.53 required.
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
'''Description:'''
+
<!-- Note Section END -->
 +
</dl>
  
Sets the object position.
+
<h3 style="display:none">Bottom Section</h3>
 
+
[[Category:Scripting Commands|SETPOSASL]]
The pos array uses the [[PositionASL]] format.
+
[[Category:Scripting Commands OFP Elite |SETPOSASL]]
 
+
[[Category:Scripting Commands ArmA|SETPOSASL]]
 
 
'''Example:'''
 
 
 
player '''setPosASL''' [ [[getPosASL]] [[player]] [[select]] 0, [[getPosASL]] [[player]] [[select]] 1 + 10, [[getPosASL]] [[select]] 2]
 

Revision as of 23:26, 1 August 2006

-wrong parameter ("Arma") defined!-2.53
Hover & click on the images for description

Description

Description:
Sets the object position. The pos array uses the PositionASL format.
Groups:
Uncategorised

Syntax

Syntax:
obj setPosASL pos
Parameters:
obj: Object
pos: Array
Return Value:
Nothing

Examples

Example 1:
player setPosASL [ [[getPosASL]] [[player]] [[select]] 0, [[getPosASL]] [[player]] [[select]] 1 + 10, [[getPosASL]] [[select]] 2]

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