setPosASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|Game *2 [Vv]ersion *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 29: | Line 29: | ||
|x2= <code>[[this]] [[setPosASL]] [<nowiki/>[[position]] [[this]] [[select]] 0, [[position]] [[this]] [[select]] 1, 9]; {{cc|[ X, Y, Z]}}</code> | |x2= <code>[[this]] [[setPosASL]] [<nowiki/>[[position]] [[this]] [[select]] 0, [[position]] [[this]] [[select]] 1, 9]; {{cc|[ X, Y, Z]}}</code> | ||
| [[ASLToATL]], [[ATLToASL]], [[getPos]], [[getPosASL]], [[getPosATL]], [[position]], [[setPos]], [[setPosASL2]], [[setPosATL]], [[getTerrainHeightASL]], [[setPosWorld]], [[setVehiclePosition]] | |seealso= [[ASLToATL]], [[ATLToASL]], [[getPos]], [[getPosASL]], [[getPosATL]], [[position]], [[setPos]], [[setPosASL2]], [[setPosATL]], [[getTerrainHeightASL]], [[setPosWorld]], [[setVehiclePosition]] | ||
}} | }} | ||
Revision as of 00:08, 17 February 2021
Description
- Description:
- Description needed
- Groups:
- Positions
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object
- pos: Array - format PositionASL
- Return Value:
- Return value needed
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