land: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofp | | ofp | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|gr1= Unit Control | |gr1= Unit Control | ||
| Force helicopter landing. Landing mode may be: | | Force helicopter landing. Landing mode may be: | ||
Line 16: | Line 16: | ||
* "GET OUT" (hovering low,for another unit to get out) | * "GET OUT" (hovering low,for another unit to get out) | ||
* "NONE" (cancel a landing) ''Available since Arma 2 57463 build.'' | * "NONE" (cancel a landing) ''Available since Arma 2 57463 build.'' | ||
| | | helicopter '''land''' mode | ||
| | |p1= helicopter: [[Object]] | ||
| [[Nothing]] | |p2= mode: [[String]] | ||
| [[Nothing]] | |||
|x1= <code>_cobraOne '''land''' "LAND"</code> | |x1= <code>_cobraOne '''land''' "LAND"</code> | ||
| [[landAt]], [[allAirports]] | | [[landAt]], [[allAirports]] | ||
}} | }} |
Revision as of 00:58, 18 January 2021
Description
- Description:
- Force helicopter landing. Landing mode may be:
- "LAND" (complete 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) Available since Arma 2 57463 build.
- Groups:
- Unit Control
Syntax
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
Notes
- 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"; };
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Unit Control
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands