BIS fnc planeAiEject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|p1= | |x1= <code></code>" to "|p1= |x1=")
m (Text replacement - " ( *class [a-zA-Z0-9_]+): *([a-zA-Z0-9_]+ *) " to " $1 : $2 ")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


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


|gr1= Aircraft Functionality
|gr1= Aircraft Functionality


| <pre>/*
|descr= <pre>/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan
- John_Spartan
Line 19: Line 18:


Example:
Example:
class Eventhandlers: Eventhandlers
class Eventhandlers : Eventhandlers
{
{
Hit = "_this call BIS_fnc_planeAiEject";
Hit = "_this call BIS_fnc_planeAiEject";
Line 30: Line 29:
_this select 0: mode (Scalar)
_this select 0: mode (Scalar)
0: plane/object
0: plane/object


Returns: nothing
Returns: nothing
Result: AI pilot will be forced to eject from aircrfat upon damage treshold reached. Semi-authenthic behaviour.
Result: AI pilot will be forced to eject from aircrfat upon damage treshold reached. Semi-authenthic behaviour.


*/
*/</pre>


{{placeholder}}
{{Wiki|placeholder}}


| <!-- [] call [[BIS_fnc_planeAiEject]]; -->
|s1= <!-- [] call [[BIS_fnc_planeAiEject]] -->
|p1=


|x1=
|r1=
}}


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


[[Category:Functions|{{uc:PlaneAiEject}}]]
|seealso=
[[Category:{{Name|arma3}}: Functions|{{uc:PlaneAiEject}}]]
}}

Latest revision as of 10:58, 6 December 2023

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.
	- AI behaviour handler.

	Exucution:
	- Call the function via attached EH to the aircrfat itself.

		Example:
		class Eventhandlers : Eventhandlers
		{
			Hit = "_this call BIS_fnc_planeAiEject";
		};

	Requirments:
	- Compatible aircrfat must have a config definition for all subsytems that will be invoked by ejection system (see BIS_fnc_PlaneEjection).

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

	Returns: nothing
	Result: AI pilot will be forced to eject from aircrfat upon damage treshold reached. 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