land: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 27: | Line 27: | ||
|x1= <code>_cobraOne '''land''' "LAND"</code> | |x1= <code>_cobraOne '''land''' "LAND"</code> | ||
| [[landAt]], [[allAirports]] | |seealso= [[landAt]], [[allAirports]] | ||
}} | }} | ||
Revision as of 23:47, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- helicopter: Object
- mode: String
- Return Value:
- Return value needed
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 ArmA).
- =\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"; };