setPosASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 48: | Line 48: | ||
[[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]] | ||
{{GameCategory|arma2|Scripting Commands}} | {{GameCategory|arma2|Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:02, 9 January 2021
Description
- Description:
- Sets the object position above sea level. Given position must be in PositionASL format.
- Groups:
- Positions
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:
- 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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Positions
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP Elite
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Scripting Commands Take On Helicopters