BIS fnc planeEjectionFX: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ")
(Expand with details from code)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.70


|gr1= Aircraft Functionality
|gr1= Aircraft Functionality
Line 50: Line 50:
{{Wiki|placeholder}}
{{Wiki|placeholder}}


|s1= <!-- [] call [[BIS_fnc_planeEjectionFX]] -->
|s1= [plane, ejectionSeat] spawn [[BIS_fnc_planeEjectionFX]]


|r1=
|p1= plane: [[Object]] - vehicle with ejection system (plane part) set up in its config


|x1= <!-- <code>[] call [[BIS_fnc_planeEjectionFX]];</code> -->
|p2= ejectionSeat: [[Object]] - vehicle with ejection system (seat part) set up in its config


|seealso=
|r1= [[Nothing]]
 
|x1= <sqf>[_myPlane, _myEjectionSeat] spawn BIS_fnc_planeEjectionFX;</sqf>
 
|exec= spawn
 
|seealso= [[BIS_fnc_planeEjection]] [[BIS_fnc_planeAiEject]] [[BIS_fnc_ejectionSeatRelease]]
}}
}}

Latest revision as of 18:49, 13 September 2025

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.
	- Function created to add FX (sound/particles) for ejection feature.

	Exucution:
	- Call from within the main ejection fnc (on demand).

		Example:
		[_plane, _ejectionSeat] spawn BIS_fnc_planeEjectionFX;

	Requirments:
	- Compatible ejector seat must have a hide animation for rocket motor flash and position for FX to be attached. (TO DO PARAMETARIZE)
		Inehector seats model.cfg
		class Animations
		{

			class Rocket_Flash_hide
			{
				type = "hide";
				source = "user";
				selection = "rocket_flash";
				sourceAddress = "mirror";
				minValue = -1.5;
				maxValue = 0;
				hideValue = 0.99;

			};
		};

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

	Returns: nothing
	Result: Set of particle FX and sound FX will be aplied to ejection feature.
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
spawn
Groups:
Aircraft Functionality

Syntax

Syntax:
[plane, ejectionSeat] spawn BIS_fnc_planeEjectionFX
Parameters:
plane: Object - vehicle with ejection system (plane part) set up in its config
ejectionSeat: Object - vehicle with ejection system (seat part) set up in its config
Return Value:
Nothing

Examples

Example 1:
[_myPlane, _myEjectionSeat] spawn BIS_fnc_planeEjectionFX;

Additional Information

See also:
BIS_fnc_planeEjection BIS_fnc_planeAiEject BIS_fnc_ejectionSeatRelease

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