assignToAirport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{since" to "{{Since")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1= Roads and Airports |GROUP1=
|gr1= Roads and Airports |GROUP1=
____________________________________________________________________________________________


| {{Important |  Not correctly implemented in '''{{arma1}}''', use [[landAt]] instead.}} |DESCRIPTION=
| {{Important |  Not correctly implemented in '''{{arma1}}''', use [[landAt]] instead.}} |DESCRIPTION=
____________________________________________________________________________________________


| plane [[assignToAirport]] id |SYNTAX=
| plane [[assignToAirport]] id |SYNTAX=
Line 19: Line 16:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|s2= plane [[assignToAirport]] target {{Since|arma3|1.68|y}} |SYNTAX2=
|s2= plane [[assignToAirport]] target {{Since|arma3|1.68|y}} |SYNTAX2=
Line 28: Line 24:


|r2 = [[Nothing]] |RETURNVALUE2=
|r2 = [[Nothing]] |RETURNVALUE2=
____________________________________________________________________________________________
   
   
|x1= <code>plane1 [[assignToAirport]] 0</code> |EXAMPLE1=
|x1= <code>plane1 [[assignToAirport]] 0</code> |EXAMPLE1=


|x2= <code>plane1 [[assignToAirport]] carrier1</code> |EXAMPLE2=
|x2= <code>plane1 [[assignToAirport]] carrier1</code> |EXAMPLE2=
____________________________________________________________________________________________


| [[airportSide]], [[setAirportSide]], [[land]], [[landAt]], [[allAirports]], [[Arma: Airport IDs]] |SEEALSO=
| [[airportSide]], [[setAirportSide]], [[land]], [[landAt]], [[allAirports]], [[Arma: Airport IDs]] |SEEALSO=

Revision as of 01:01, 17 January 2021

Hover & click on the images for description

Description

Description:
Not correctly implemented in Armed Assault, use landAt instead.
Groups:
Roads and Airports

Syntax

Syntax:
plane assignToAirport id
Parameters:
plane: Object - plane
id: Number - airport id
Return Value:
Nothing

Alternative Syntax

Syntax:
plane assignToAirport target Template:Since
Parameters:
plane: Object
target: Object
Return Value:
Nothing

Examples

Example 1:
plane1 assignToAirport 0
Example 2:
plane1 assignToAirport carrier1

Additional Information

See also:
airportSidesetAirportSidelandlandAtallAirportsArma: Airport IDs

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

Bottom Section