land: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|size=0.75" to "|size= 0.75") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 60: | Line 60: | ||
You can fix a landing bug by using a short delay bevore checking the [[unitReady]] command. | You can fix a landing bug by using a short delay bevore checking the [[unitReady]] command. | ||
<sqf>_helicopter move getPosATL _destination; | <sqf> | ||
_helicopter move getPosATL _destination; | |||
sleep 3; | sleep 3; | ||
while { alive _helicopter | while { alive _helicopter && not unitReady _helicopter } do | ||
{ | { | ||
sleep 1; | |||
}; | }; | ||
if (alive _helicopter) then | if (alive _helicopter) then | ||
{ | { | ||
_helicopter land "LAND"; | |||
};</sqf> | }; | ||
</sqf> | |||
}} | }} |
Latest revision as of 15:46, 20 March 2023
Description
- Description:
- Forces a helicopter landing.
- Groups:
- Unit Control
Syntax
- Syntax:
- helicopter land mode
- Parameters:
- helicopter: Object
- mode: 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
- 1.00 "NONE" - Cancel a landing
- Return Value:
- Nothing
Examples
- Example 1:
- _cobraOne land "LAND";
Additional Information
- See also:
- landAt allAirports
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 Aug 04, 2006 - 10:56 (UTC)
- 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).
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