landAt: Difference between revisions
Jump to navigation
Jump to search
Ondrejkuzel (talk | contribs) (removed info about helicopter use) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Order an AI airplane to land at a given airport. [[ArmA:Airport ID|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_Configuration|dynamic airport]] [[object]] (e.g. aircraft carrier, makeshift runway...). |= | | Order an AI airplane to land at a given airport. [[ArmA:Airport ID|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_Configuration|dynamic airport]] [[object]] (e.g. aircraft carrier, makeshift runway...). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| plane '''landAt''' id |= | | plane '''landAt''' id |SYNTAX= | ||
|p1= plane: [[Object]] |= | |p1= plane: [[Object]] |PARAMETER1= | ||
|p2= id: [[Number]] ([[ArmA:Airport ID|airport index]]) |= | |p2= id: [[Number]] ([[ArmA:Airport ID|airport index]]) |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
| s2 = _plane1 '''landAt''' _dynamicAirport1 ''Since Arma 3 v1.68''|= | | s2 = _plane1 '''landAt''' _dynamicAirport1 ''Since Arma 3 v1.68''|SYNTAX= | ||
|p21= _plane1: [[Object]] |= | |p21= _plane1: [[Object]] |PARAMETER1= | ||
|p22= _dynamicAirport1: [[Object]]|= | |p22= _dynamicAirport1: [[Object]]|PARAMETER2= | ||
|r2 = [[Nothing]] |= | |r2 = [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_plane1 [[landAt]] 1;</code> |= | |x1= <code>_plane1 [[landAt]] 1;</code> |EXAMPLE1= | ||
|x2= <code>_dynamicAirport1 = "DynamicAirport_01_F" [[createVehicle]] [[position]] [[player]]; | |x2= <code>_dynamicAirport1 = "DynamicAirport_01_F" [[createVehicle]] [[position]] [[player]]; | ||
_plane1 [[landAt]] _dynamicAirport1;</code> |= | _plane1 [[landAt]] _dynamicAirport1;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[land]], [[setAirportSide]], [[assignToAirport]], [[allAirports]] |= | | [[land]], [[setAirportSide]], [[assignToAirport]], [[allAirports]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
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
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
- 0 = There is only one airport
- 0 = Airport NorthWest close to Grishno
- 1 = Airport NorthEast close to Kranostav
- 2 = Airport SouthWest close to Balota
- 3 = Nearest Airport
- 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
Categories:
- Scripting Commands
- Introduced with Arma version 1.08
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands ArmA
- Command Group: Unit Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters