land: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>") |
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
||
Line 30: | Line 30: | ||
|descr= Forces a helicopter landing. | |descr= Forces a helicopter landing. | ||
|s1= helicopter | |s1= helicopter [[land]] mode | ||
|p1= helicopter: [[Object]] | |p1= helicopter: [[Object]] |
Revision as of 16:44, 12 June 2021
Description
- Description:
- Forces a helicopter landing.
- Groups:
- Unit Control
Syntax
- Syntax:
- helicopter land mode
- Parameters:
- helicopter: Object
- mode: String - Can be:
- "LAND" - Ccomplete stop
- "GET IN" - Hovering very low, for another unit to get in
- "GET OUT" - Hovering low, for another unit to get out
- "NONE" - Cancel a landing, since Arma 2
- Return Value:
- Nothing
Examples
- Example 1:
_cobraOne land "LAND";
Additional Information
- See also:
- landAtallAirports
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
- Posted on August 4, 2006 - 10:56
- hardrock
- Notes from before the conversion: Helos will land at the nearest "H" or "Invisible H", if there is one around (within 500m in Armed Assault).
- =\SNKMAN/=
- To make a helicopter LAND correctly and not hovering over the landing position use unitReady to check if the helicopter already has reached his destination.
You can fix a landing bug by using a short delay bevore checking the unitReady command.
_helicopter move getPos _destination; sleep 3; while { alive _helicopter) && !unitReady _helicopter } do { sleep 1; }; if (alive _helicopter) then { _helicopter land "LAND"; };
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Unit Control
- Scripting Commands: Global Effect