setAirportSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma1 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma1 |version1= $1 |game2")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(12 intermediate revisions by the same user not shown)
Line 22: Line 22:
|descr= Set owning side of the airport. [[Arma: Airport IDs|ID]] is the number to identify which airport on the island you want to check.
|descr= Set owning side of the airport. [[Arma: Airport IDs|ID]] is the number to identify which airport on the island you want to check.


|s1= id [[setAirportSide]] side
|s1= id [[setAirportSide]] side


|p1= id: [[Number]]
|p1= id: [[Number]]
Line 30: Line 30:
|r1= [[Nothing]]
|r1= [[Nothing]]


|s2= target [[setAirportSide]] side {{Since|arma3|1.68|y}}
|s2= target [[setAirportSide]] side
 
|s2since= arma3 1.68


|p21= target: [[Object]]
|p21= target: [[Object]]
Line 38: Line 40:
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>0 [[setAirportSide]] [[east]]</code>
|x1= <sqf>0 setAirportSide east;</sqf>


|seealso= [[airportSide]], [[landAt]], [[land]], [[assignToAirport]], [[allAirports]], [[Arma: Airport IDs]]
|seealso= [[airportSide]] [[landAt]] [[land]] [[assignToAirport]] [[allAirports]] [[Arma: Airport IDs]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Set owning side of the airport. ID is the number to identify which airport on the island you want to check.
Groups:
Roads and AirportsSides

Syntax

Syntax:
id setAirportSide side
Parameters:
id: Number
side: Side
Return Value:
Nothing

Alternative Syntax

Syntax:
target setAirportSide side
Parameters:
target: Object
side: Side
Return Value:
Nothing

Examples

Example 1:
0 setAirportSide east;

Additional Information

See also:
airportSide landAt land assignToAirport allAirports Arma: 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