---
name: "airportSide"
type: command
status: ok
groups: ["Sides", "Roads and Airports"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/airportSide
revid: 379237
updated: 2026-10-30T23:15:30Z
---

# airportSide

*Command · Sides, Roads and Airports · Arma 3 v0.50 · introduced in Armed Assault v1.08*

## Description

Gets the side of an airport, set by [setAirportSide](../commands/setAirportSide.md). Default side is [sideUnknown](../commands/sideUnknown.md).

> [!NOTE]
> See [Arma: Airport IDs](../topics/Arma~3A_Airport_IDs.md) for a list of airport ids.

## Syntax

### Syntax 1

```sqf
airportSide id
```

**Parameters:**

- `id`: [Number](../topics/Number.md)

**Returns:** [Side](../topics/Side.md)

### Syntax 2

*since arma3 1.68*

```sqf
airportSide target
```

**Parameters:**

- `target`: [Object](../topics/Object.md)

**Returns:** [Side](../topics/Side.md)

## Examples

### Example 1

```sqf
private _airportSide = airportSide 0;
```

## Problems

When used on a non-existent airport id:

- negative numbers will always return [sideUnknown](../commands/sideUnknown.md)
- positive numbers may return [east](../commands/east.md), [west](../commands/west.md), [resistance](../commands/resistance.md), [sideEmpty](../commands/sideEmpty.md), [sideUnknown](../commands/sideUnknown.md), [sideAmbientLife](../commands/sideAmbientLife.md), or 'ERROR' (see [Notes](../commands/airportSide.md#notes)).

## See also

[Arma: Airport IDs](../topics/Arma~3A_Airport_IDs.md) · [setAirportSide](../commands/setAirportSide.md) · [land](../commands/land.md) · [landAt](../commands/landAt.md) · [assignToAirport](../commands/assignToAirport.md) · [allAirports](../commands/allAirports.md)

## Community notes

**Lou Montana** — 2020-03-12

Weird behaviour encountered on various (Arma 3) terrains (`n/a` is 'ERROR'):

| Terrain | 0 (airport id) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VR | [sideUnknown](../commands/sideUnknown.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) |
| Stratis | [sideUnknown](../commands/sideUnknown.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [sideUnknown](../commands/sideUnknown.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A |
| Altis | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [resistance](../commands/resistance.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [sideEmpty](../commands/sideEmpty.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | [west](../commands/west.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) |
| Livonia | [sideUnknown](../commands/sideUnknown.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [resistance](../commands/resistance.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [sideUnknown](../commands/sideUnknown.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | [east](../commands/east.md) | N/A |
| Malden | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [resistance](../commands/resistance.md) | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [sideAmbientLife](../commands/sideAmbientLife.md) | N/A | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [resistance](../commands/resistance.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A |
| Tanoa | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | [sideUnknown](../commands/sideUnknown.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | [east](../commands/east.md) | [west](../commands/west.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | [east](../commands/east.md) | [east](../commands/east.md) | N/A | N/A | N/A | N/A | N/A | [east](../commands/east.md) | N/A | N/A | N/A | N/A |

<sub>Source: [BI Community Wiki — airportSide](https://community.bistudio.com/wiki/airportSide) (revision 379237).</sub>
