{"name":"BIS_fnc_planeEjectionFX","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","games":{"arma3":"1.70"},"since":"arma3 1.70","arma3_since":"1.70","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","params":[{"name":"plane","type":"Object","description":"vehicle with ejection system (plane part) set up in its config","type_expr":"Object"},{"name":"ejectionSeat","type":"Object","description":"vehicle with ejection system (seat part) set up in its config","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[_myPlane, _myEjectionSeat] spawn BIS_fnc_planeEjectionFX;"]}],"see_also":["BIS_fnc_planeEjection","BIS_fnc_planeAiEject","BIS_fnc_ejectionSeatRelease"],"docblock":{"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.","author":"Bravo Zero One development, John_Spartan"},"filled_from_docblock":["description"]}