assignToAirport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "{{since" to "{{Since")
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 19:37, 11 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