{"name":"BIS_fnc_planeEjectionFX","operator":null,"title":"BIS fnc planeEjectionFX","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_planeEjectionFX","revid":376189,"updated":"2025-09-13T16:49:05Z","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":null,"effect":null,"server_exec":false},"exec":"spawn","description":"- This function is designed as part of set of functions to implement semi-authenthic ejection system on fixed wing aircrfat that have such functionality enabled/configured.\n- Function created to add FX (sound/particles) for ejection feature.","syntaxes":[{"syntax":"[plane, ejectionSeat] spawn BIS_fnc_planeEjectionFX","since":null,"effect":null,"exec":null,"params":[{"name":"plane","type":"Object","optional":false,"default":null,"description":"vehicle with ejection system (plane part) set up in its config","types":["Object"],"since":null,"text":"plane: Object - vehicle with ejection system (plane part) set up in its config"},{"name":"ejectionSeat","type":"Object","optional":false,"default":null,"description":"vehicle with ejection system (seat part) set up in its config","types":["Object"],"since":null,"text":"ejectionSeat: Object - vehicle with ejection system (seat part) set up in its config"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[_myPlane, _myEjectionSeat] spawn BIS_fnc_planeEjectionFX;\n```","code":["[_myPlane, _myEjectionSeat] spawn BIS_fnc_planeEjectionFX;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_planeEjection","BIS_fnc_planeAiEject","BIS_fnc_ejectionSeatRelease"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Aircraft Functionality","Functions","Introduced with Arma 3 version 1.70"],"docblock":{"author":"Bravo Zero One development, John_Spartan","description":"- This function is designed as part of set of functions to implement semi-authenthic ejection system on fixed wing aircrfat that have such functionality enabled/configured.\n- Function created to add FX (sound/particles) for ejection feature.","params":[{"index":0,"name":"mode","types":["Number"],"optional":false,"default":null,"description":"(Scalar)","text":"(Scalar)"},{"index":0,"name":null,"types":[],"optional":false,"default":null,"description":"plane/object","text":"plane/object"},{"index":1,"name":null,"types":[],"optional":false,"default":null,"description":"ejector seat/object","text":"ejector seat/object"}],"returns":{"types":["Nothing"],"text":"nothing\nSet of particle FX and sound FX will be aplied to ejection feature."},"examples":["[_plane, _ejectionSeat] spawn BIS_fnc_planeEjectionFX;"],"syntax":null,"execution":"- Call from within the main ejection fnc (on demand).","notes":null,"requirements":"- Compatible ejector seat must have a hide animation for rocket motor flash and position for FX to be attached. (TO DO PARAMETARIZE)\n    Inehector seats model.cfg\n    class Animations\n    {\n\n        class Rocket_Flash_hide\n        {\n            type = \"hide\";\n            source = \"user\";\n            selection = \"rocket_flash\";\n            sourceAddress = \"mirror\";\n            minValue = -1.5;\n            maxValue = 0;\n            hideValue = 0.99;\n\n        };\n    };","meta":{},"text":"Author: Bravo Zero One development\n- John_Spartan\n\nDescription:\n- This function is designed as part of set of functions to implement semi-authenthic ejection system on fixed wing aircrfat that have such functionality enabled/configured.\n- Function created to add FX (sound/particles) for ejection feature.\n\nExucution:\n- Call from within the main ejection fnc (on demand).\n\n    Example:\n    [_plane, _ejectionSeat] spawn BIS_fnc_planeEjectionFX;\n\nRequirments:\n- Compatible ejector seat must have a hide animation for rocket motor flash and position for FX to be attached. (TO DO PARAMETARIZE)\n    Inehector seats model.cfg\n    class Animations\n    {\n\n        class Rocket_Flash_hide\n        {\n            type = \"hide\";\n            source = \"user\";\n            selection = \"rocket_flash\";\n            sourceAddress = \"mirror\";\n            minValue = -1.5;\n            maxValue = 0;\n            hideValue = 0.99;\n\n        };\n    };\n\nParameter(s):\n    _this select 0: mode (Scalar)\n    0: plane/object\n    1: ejector seat/object\n\nReturns: nothing\nResult: Set of particle FX and sound FX will be aplied to ejection feature."},"filled_from_docblock":["description"]}