{"name":"BIS_fnc_ejectionSeatRelease","operator":null,"title":"BIS fnc ejectionSeatRelease","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_ejectionSeatRelease","revid":376188,"updated":"2025-09-13T16:42:56Z","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":null,"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- Additional option for player to separate from ejetor seat via user action. default ejection function will ato deploy parachute at 350 m altitude. This is a manual override.\n- Generic parachute used, currently only one model in game so no need to parametarize.","syntaxes":[{"syntax":"vehicle call BIS_fnc_ejectionSeatRelease","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":"object with a unit in it. Despite the name this does not have to be an ejection seat - the function is essentially a simple wrapper for moveOut. The first unit in the crew array will be used.","types":["Object"],"since":null,"text":"vehicle: Object - object with a unit in it. Despite the name this does not have to be an ejection seat - the function is essentially a simple wrapper for moveOut. The first unit in the crew array will be used."}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n_ejectionSeat call BIS_fnc_ejectionSeatRelease;\n```","code":["_ejectionSeat call BIS_fnc_ejectionSeatRelease;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_planeEjection","BIS_fnc_planeAiEject","BIS_fnc_planeEjectionFX"],"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- Additional option for player to separate from ejetor seat via user action. default ejection function will ato deploy parachute at 350 m altitude. This is a manual override.\n- Generic parachute used, currently only one model in game so no need to parametarize.","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":"ejector seat/object","text":"ejector seat/object"}],"returns":{"types":["Nothing"],"text":"nothing\nPilot will be forced from ejection seat vehicle to parachute. Semi-authenthic behaviour."},"examples":["class UserActions\n{","class Ejection_Seat_Eject\n    {\n        priority = 0.05;\n        shortcut = \"Eject\";\n        displayName = \"$STR_A3_action_deploy_parachute\";\n        condition = \"player in this\";\n        statement = \"[this] spawn BIS_fnc_ejectionSeatRelease\";\n        position = \"pilotcontrol\";\n        radius = 10;\n        onlyforplayer = 1;\n        showWindow = 0;\n        hideOnUse = 1;\n    };\n};"],"syntax":null,"execution":"- Call the function via user action defined on the ejector seat vehicle.","notes":null,"requirements":"- Compatible ejector seat must have a user action set up to triger this fnc.","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- Additional option for player to separate from ejetor seat via user action. default ejection function will ato deploy parachute at 350 m altitude. This is a manual override.\n- Generic parachute used, currently only one model in game so no need to parametarize.\n\nExecution:\n- Call the function via user action defined on the ejector seat vehicle.\n\n    Example:\n    class UserActions\n    {\n\n        class Ejection_Seat_Eject\n        {\n            priority = 0.05;\n            shortcut = \"Eject\";\n            displayName = \"$STR_A3_action_deploy_parachute\";\n            condition = \"player in this\";\n            statement = \"[this] spawn BIS_fnc_ejectionSeatRelease\";\n            position = \"pilotcontrol\";\n            radius = 10;\n            onlyforplayer = 1;\n            showWindow = 0;\n            hideOnUse = 1;\n        };\n    };\n\nRequirements:\n- Compatible ejector seat must have a user action set up to triger this fnc.\n\nParameter(s):\n    _this select 0: mode (Scalar)\n    0: ejector seat/object\n\nReturns: nothing\nResult: Pilot will be forced from ejection seat vehicle to parachute. Semi-authenthic behaviour."},"filled_from_docblock":["description"]}