setPosASL: Difference between revisions
Jump to navigation
Jump to search
m (cleaned up example overflow; added getTerrainHeightASL to see also - it was lonely) |
mNo edit summary |
||
Line 38: | Line 38: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|SETPOSASL]] | [[Category:Scripting Commands|SETPOSASL]] | ||
[[Category:Scripting Commands OFP 1.99|SETPOSASL]] | |||
[[Category:Scripting Commands OFP Elite |SETPOSASL]] | [[Category:Scripting Commands OFP Elite |SETPOSASL]] | ||
[[Category:Scripting Commands ArmA|SETPOSASL]] | [[Category:Scripting Commands ArmA|SETPOSASL]] |
Revision as of 08:55, 25 September 2014
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];
- Example 2:
this setPosASL [ position this select 0, position this select 1, 9]; //[ X, Y, Z]
Additional Information
- See also:
- ASLToATLATLToASLgetPosgetPosASLgetPosATLpositionsetPossetPosASL2setPosATLgetTerrainHeightASL
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