BIS fnc ejectionSeatRelease: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
(Expand with details from code) |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.70 | |||
| | |gr1= Aircraft Functionality | ||
| | |descr= <pre> | ||
/* | |||
Author: Bravo Zero One development | Author: Bravo Zero One development | ||
- John_Spartan | - John_Spartan | ||
Line 16: | 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. | ||
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 38: | Line 38: | ||
}; | }; | ||
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 44: | Line 44: | ||
_this select 0: mode (Scalar) | _this select 0: mode (Scalar) | ||
0: ejector seat/object | 0: ejector seat/object | ||
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> | |||
{{Wiki|placeholder}} | |||
| | |s1= vehicle call [[BIS_fnc_ejectionSeatRelease]] | ||
| | |p1= 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. | ||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>_ejectionSeat call BIS_fnc_ejectionSeatRelease;</sqf> | ||
|seealso= [[BIS_fnc_planeEjection]] [[BIS_fnc_planeAiEject]] [[BIS_fnc_planeEjectionFX]] | |||
}} | }} | ||
Latest revision as of 18:42, 13 September 2025
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. */
- Execution:
- call
- Groups:
- Aircraft Functionality
Syntax
- Syntax:
- vehicle call BIS_fnc_ejectionSeatRelease
- Parameters:
- 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.
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
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