setPosASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 30: Line 30:
'''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]