Difference between revisions of "setPosASL"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Object]] '''setPosASL''' [[PositionASL]]|= Syntax
+
| object '''setPosASL''' pos |= Syntax
  
|p1= [[Object]] |= Parameter 1
+
|p1= object: [[Object]] |= Parameter 1
  
|p2= [[PositionASL]]: ([[Array]]) |= Parameter 2
+
|p2= pos: [[Array]] - format [[PositionASL]] |= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 20:25, 25 January 2009

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

Description

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

Syntax

Syntax:
object setPosASL pos
Parameters:
object: Object
pos: Array - format PositionASL
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