{"name":"BIS_fnc_aircraftFoldingWings","operator":null,"title":"BIS fnc aircraftFoldingWings","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_aircraftFoldingWings","revid":351488,"updated":"2023-12-06T09:58:25Z","groups":["Aircraft Functionality"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.70"}],"since":{"game":"arma3","name":"Arma 3","version":"1.70"},"arma3_since":"1.70","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"aircraft","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"aircraft: Object"},{"name":"animationState","type":"Boolean","optional":true,"default":"false","description":"if false, the function will just terminate","types":["Boolean"],"since":null,"text":"animationState: Boolean - (optional, default false) if false, the function will just terminate"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;\n```","code":["[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Aircraft Functionality","Functions","Functions: Global Effect","Introduced with Arma 3 version 1.70"],"docblock":null,"filled_from_docblock":[]}