Arma 3 Scripting

BIS_fnc_ejectionSeatRelease

  • Arma 3 v1.70

Function · Markdown · JSON · original wiki page

Description

Syntax

vehicle call BIS_fnc_ejectionSeatRelease

Parameters:

Returns: Nothing

Examples

Example 1

_ejectionSeat call BIS_fnc_ejectionSeatRelease;

Function header

The comment at the top of the function's file in the game; this page's description come from it.

/*
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.
- 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.
- Generic parachute used, currently only one model in game so no need to parametarize.

Execution:
- Call the function via user action defined on the ejector seat vehicle.

    Example:
    class UserActions
    {

        class Ejection_Seat_Eject
        {
            priority = 0.05;
            shortcut = "Eject";
            displayName = "$STR_A3_action_deploy_parachute";
            condition = "player in this";
            statement = "[this] spawn BIS_fnc_ejectionSeatRelease";
            position = "pilotcontrol";
            radius = 10;
            onlyforplayer = 1;
            showWindow = 0;
            hideOnUse = 1;
        };
    };

Requirements:
- Compatible ejector seat must have a user action set up to triger this fnc.

Parameter(s):
    _this select 0: mode (Scalar)
    0: ejector seat/object

Returns: nothing
Result: Pilot will be forced from ejection seat vehicle to parachute. Semi-authenthic behaviour.
*/

See also

BIS_fnc_planeEjection · BIS_fnc_planeAiEject · BIS_fnc_planeEjectionFX