Difference between revisions of "setPosASL"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed version)
Line 19: Line 19:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <code>player setPosASL [ [[getPosASL]] [[player]] [[select]] 0, [[getPosASL]] [[player]] [[select]] 1 + 10, [[getPosASL]] [[select]] 2]</code> |= Example 1
+
|x1= <code>player setPosASL [ [[getPosASL]] [[player]] [[select]] 0, ([[getPosASL]] [[player]] [[select]] 1) + 10, [[getPosASL]] [[player]] [[select]] 2]</code> |= Example 1
 +
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 00:30, 2 March 2007

-wrong parameter ("Arma") defined!-1.00
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 player 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