{"name":"BIS_fnc_aircraftFoldingWings","title":"BIS fnc aircraftFoldingWings","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_aircraftFoldingWings","revid":379487,"updated":"2026-10-31T00:25:18Z","groups":["Aircraft Functionality"],"status":"ok","games":{"arma3":"1.70"},"since":"arma3 1.70","arma3_since":"1.70","locality":{"argument":"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.\n\n```cpp\nclass Eventhandlers : Eventhandlers\n{\n    engine = \"_this call BIS_fnc_aircraftFoldingWings\";\n    gear = \"_this call BIS_fnc_aircraftFoldingWings\";\n};\n```","syntaxes":[{"syntax":"[aircraft, animationState] call BIS_fnc_aircraftFoldingWings","params":[{"name":"aircraft","type":"Object","type_expr":"Object"},{"name":"animationState","type":"Boolean","optional":true,"default":"false","description":"if false, the function will just terminate","type_expr":"Boolean","text":"animationState: Boolean - (Optional, default false) if false, the function will just terminate"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;"]}]}