BIS fnc ejectionSeatRelease: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|gr1= Aircraft Functionality
|gr1= Aircraft Functionality


|descr= <pre>/*
|descr= <pre>
/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan
- John_Spartan
Line 15: Line 16:
- Generic parachute used, currently only one model in game so no need to parametarize.
- Generic parachute used, currently only one model in game so no need to parametarize.


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


Example:
Example:
class UserActions
class UserActions
    {
{


class Ejection_Seat_Eject
class Ejection_Seat_Eject
Line 37: Line 38:
};
};


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


Line 46: Line 47:
Returns: nothing
Returns: nothing
Result: Pilot will be forced from ejection seat vehicle to parachute. Semi-authenthic behaviour.
Result: Pilot will be forced from ejection seat vehicle to parachute. Semi-authenthic behaviour.
*/</pre>
*/
</pre>


{{Wiki|placeholder}}
{{Wiki|placeholder}}
Line 54: Line 56:
|r1=
|r1=


|x1= <!-- <code>[] call [[BIS_fnc_ejectionSeatRelease]];</code> -->
|x1= <!-- <sqf>[] call BIS_fnc_ejectionSeatRelease;</sqf> -->


|seealso=
|seealso=
}}
}}

Latest revision as of 13:59, 6 November 2024

Hover & click on the images for description

Description

Description:
/*
	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.
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Aircraft Functionality

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note