setPosASL: Difference between revisions
m (VBS2 scripting category removal)  | 
				m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}")  | 
				||
| Line 46: | Line 46: | ||
[[Category:Scripting Commands ArmA|SETPOSASL]]  | [[Category:Scripting Commands ArmA|SETPOSASL]]  | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]  | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]  | |||
Revision as of 11:32, 2 November 2011
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:
 - setPosASL2
 
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 
Extra Example:
this setPosASL [position this select 0, position this select 1, 9];
"this" can be any name.   "9" is the height above sea level