assignToAirport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.08|Game version=
|1.08


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


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


| plane [[assignToAirport]] id |SYNTAX=
| plane [[assignToAirport]] id


|p1= plane: [[Object]] - plane |PARAMETER1=
|p1= plane: [[Object]] - plane


|p2= id: [[Number]] - airport id |PARAMETER2=
|p2= id: [[Number]] - airport id


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


|s2= plane [[assignToAirport]] target {{Since|arma3|1.68|y}} |SYNTAX2=
|s2= plane [[assignToAirport]] target {{Since|arma3|1.68|y}}


|p21= plane: [[Object]] |PARAMETER21=
|p21= plane: [[Object]] |PARAMETER21=
Line 23: Line 23:
|p22= target: [[Object]] |PARAMETER22=
|p22= target: [[Object]] |PARAMETER22=


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


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


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



Revision as of 01:00, 18 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

Bottom Section