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).
Description
Forces a helicopter landing. If there is a helipad nearby, the helicopter will attempt to land on it. VTOL he other hand will just land somewhere. To make helicopter or VTOL land on a specific helipad use landAt.
Syntax
helicopter land mode
Parameters:
helicopter: Object helicopter or VTOLmode: String - can be one of:- "LAND" - Complete stop
- "GET IN" - Hovering very low, for another unit to get in
- "GET OUT" - Hovering low, for another unit to get out
- Arma 2 v1.00 "NONE" - Cancel a landing
Returns: Nothing
Examples
Example 1
_cobraOne land "LAND";
See also
Community notes
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 getPosATL _destination;
sleep 3;
while { alive _helicopter && not unitReady _helicopter } do
{
sleep 1;
};
if (alive _helicopter) then
{
_helicopter land "LAND";
};