setAirportSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma1 |Game name=
|game1= arma1
|version1= 1.08


|1.08|Game version=
|game2= arma2
|version2= 1.00


|gr1= Roads and Airports |GROUP1=
|game3= arma2oa
|version3= 1.50


|gr2= Sides |GROUP2=
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| Set owning side of the airport. [[Arma: Airport IDs|ID]] is the number to identify which airport on the island you want to check. |DESCRIPTION=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| id [[setAirportSide]] side |SYNTAX=
|gr1= Roads and Airports


|p1= id: [[Number]] |PARAMETER1=
|gr2= Sides


|p2= side: [[Side]] |PARAMETER2=
|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.


| [[Nothing]] |RETURNVALUE=
|s1= id [[setAirportSide]] side
____________________________________________________________________________________________


|s2= target [[setAirportSide]] side {{since|arma3|1.68|y}} |SYNTAX2=
|p1= id: [[Number]]


|p21= target: [[Object]] |PARAMETER21=
|p2= side: [[Side]]


|p22= side: [[Side]] |PARAMETER22=
|r1= [[Nothing]]


|r2= [[Nothing]] |RETURNVALUE2=
|s2= target [[setAirportSide]] side


____________________________________________________________________________________________
|s2since= arma3 1.68
 
|x1= <code>0 [[setAirportSide]] [[east]]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[airportSide]], [[landAt]], [[land]], [[assignToAirport]], [[allAirports]], [[Arma: Airport IDs]] |SEEALSO=
|p21= target: [[Object]]
}}
 
|p22= side: [[Side]]


<h3 style="display:none">Notes</h3>
|r2= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>0 setAirportSide east;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[airportSide]] [[landAt]] [[land]] [[assignToAirport]] [[allAirports]] [[Arma: Airport IDs]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23: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