---
name: "BIS_fnc_aircraftFoldingWings"
type: function
status: ok
groups: ["Aircraft Functionality"]
arma3_since: "1.70"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_aircraftFoldingWings
revid: 351488
updated: 2023-12-06T09:58:25Z
---

# BIS_fnc_aircraftFoldingWings

*Function · Aircraft Functionality · Arma 3 v1.70*

Locality: arguments **local** · effect **global**

## Description

Handles foldable wings of aircrafts. Is supposed to be used from within class Eventhandlers of the vehicle. See Arma 3: Aircraft Systems for information about needed config changes.

```cpp
class Eventhandlers : Eventhandlers
{
    engine = "_this call BIS_fnc_aircraftFoldingWings";
    gear = "_this call BIS_fnc_aircraftFoldingWings";
};
```

## Syntax

```sqf
[aircraft, animationState] call BIS_fnc_aircraftFoldingWings
```

**Parameters:**

- `aircraft`: [Object](../topics/Object.md)
- `animationState`: [Boolean](../topics/Boolean.md) - (optional, default [false](../commands/false.md)) if [false](../commands/false.md), the function will just terminate

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

## Examples

### Example 1

```sqf
[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;
```

<sub>Source: [BI Community Wiki — BIS fnc aircraftFoldingWings](https://community.bistudio.com/wiki/BIS_fnc_aircraftFoldingWings) (revision 351488).</sub>
