BIS fnc planeAiEject: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " ( *class [a-zA-Z0-9_]+): *([a-zA-Z0-9_]+ *) " to " $1 : $2 ") |
(Added more information based on examining the code) |
||
Line 37: | Line 37: | ||
{{Wiki|placeholder}} | {{Wiki|placeholder}} | ||
|s1= | |s1= plane call [[BIS_fnc_planeAiEject]] | ||
| | |p1= plane: [[Object]] - living vehicle with a pilot and with ejection systems set up in its config | ||
| | |r1= [[Nothing]] if plane was invalid or no ejection was needed, otherwise [[Script Handle]] - script handle of spawned [[BIS_fnc_planeEjection]] | ||
|seealso= | |x1= <sqf>_myPlane call BIS_fnc_planeAiEject;</sqf> | ||
|seealso= [[BIS_fnc_planeEjection]] [[BIS_fnc_planeEjectionFX]] [[BIS_fnc_ejectionSeatRelease]] | |||
}} | }} |
Latest revision as of 04:30, 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. - 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. */
- Execution:
- call
- Groups:
- Aircraft Functionality
Syntax
- Syntax:
- plane call BIS_fnc_planeAiEject
- Parameters:
- plane: Object - living vehicle with a pilot and with ejection systems set up in its config
- Return Value:
- Nothing if plane was invalid or no ejection was needed, otherwise Script Handle - script handle of spawned BIS_fnc_planeEjection
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