Difference between revisions of "setPosASL"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 23: Line 23:
 
'''Description:'''
 
'''Description:'''
  
Sets the object position. The pos array uses the [[PositionASL]] format.  
+
Sets the object position.
 +
 
 +
The pos array uses the [[PositionASL]] format.  
 +
 
  
 
'''Example:'''
 
'''Example:'''
  
player '''setPosASL''' [getposASL player select 0, getposASL player select 1 + 10, getPosASL select 2]
+
player '''setPosASL''' [ [[getposASL]] [[player]] [[select]] 0, [[getposASL]] [[player]] [[select]] 1 + 10, [[getPosASL]] [[select]] 2]

Revision as of 20:43, 4 July 2006


obj setPosASL pos


Operand types:

obj: Object

pos: Array

Type of returned value:

Nothing

Compatibility:

Version 2.53 required.

Description:

Sets the object position.

The pos array uses the PositionASL format.


Example:

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