setPosASL

From Bohemia Interactive Community
Revision as of 22:23, 10 June 2021 by Lou Montana (talk | contribs) (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

Syntax:
Syntax needed
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:
ASLToATLATLToASLgetPosgetPosASLgetPosATLpositionsetPossetPosASL2setPosATLgetTerrainHeightASLsetPosWorldsetVehiclePosition

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