landAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|PARAMETER1= |p22=" to "|PARAMETER21= |p22=")
m (Text replacement - "|SYNTAX= |p21=" to "|SYNTAX2= |p21=")
Line 19: Line 19:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


| s2 = _plane1 '''landAt''' _dynamicAirport1        ''Since Arma 3 v1.68''|SYNTAX=
| s2 = _plane1 '''landAt''' _dynamicAirport1        ''Since Arma 3 v1.68''|SYNTAX2=


|p21= _plane1: [[Object]] |PARAMETER21=
|p21= _plane1: [[Object]] |PARAMETER21=

Revision as of 01:57, 3 September 2019

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Order an AI airplane to land at a given airport. ID is the number to identify which map airport you want the airplane to land at. Since Arma 3 v1.68 it is possible to also make the airplane land at a dynamic airport object (e.g. aircraft carrier, makeshift runway...).
Groups:
Uncategorised

Syntax

Syntax:
plane landAt id
Parameters:
plane: Object
id: Number (airport index)
Return Value:
Nothing

Alternative Syntax

Syntax:
_plane1 landAt _dynamicAirport1        Since Arma 3 v1.68
Parameters:
_plane1: Object
_dynamicAirport1: Object
Return Value:
Nothing

Examples

Example 1:
_plane1 landAt 1;
Example 2:
_dynamicAirport1 = "DynamicAirport_01_F" createVehicle position player; _plane1 landAt _dynamicAirport1;

Additional Information

See also:
landsetAirportSideassignToAirportallAirports

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 17:10, 23 February 2014 (AEDT)
l_S3N7RY_l
ARMA 3: Altis:
  • 0 = Airbase
  • 1 = AAC Airfield
  • 2 = Krya Nera Airstrip
  • 3 = Selakeno Airfield
  • 4 = Molos Airfield
  • 5 = Almyra Salt Lake Airstrip
Posted 17:56, 21 September 2010 (CEST)
tom_48_97
ARMA 2 OA: Takistan:
  • 0 = Airport NorthWest
  • 1 = Airport SouthEast
Planes approach all airports from South West ARMA 2: Utes:
  • 0 = There is only one airport
Chernarus:
  • 0 = Airport NorthWest close to Grishno
  • 1 = Airport NorthEast close to Kranostav
  • 2 = Airport SouthWest close to Balota
  • 3 = Nearest Airport
Planes approach all airports from South East ARMA: Sahrani:
  • 0: - Paraiso
  • 1: - Rahmadi
  • 2: - Pita
  • 3: - Antigua

Bottom Section

Posted on November 8, 2014 - 22:59 (UTC)
Tankbuster
In Arma 3 (1.34) landAt only works for fixed-wing aircraft. Rotary-wing craft ignore this command.
Posted on June 19, 2016 - 09:24 (UTC)
Tryteyker-
ARMA 3: Tanoa
0 = Aeroport de Tanoa
1 = Tuvanaka Airbase
2 = Saint-George Airstrip
3 = Bala Airstrip
4 = La Rochelle Aerodome
ARMA 3: Stratis
0 = Stratis Airbase