BIS fnc aircraftWingStateCheck: Difference between revisions
Jump to navigation
Jump to search
m (adding cat) |
m (template:command argument fix) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 45: | Line 46: | ||
*/ | */ | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| <!-- [] call [[BIS_fnc_AircraftWingStateCheck]]; --> |= | | <!-- [] call [[BIS_fnc_AircraftWingStateCheck]]; --> |SYNTAX= | ||
|p1= |= | |p1= |PARAMETER1= | ||
| |= | | |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 57: | Line 58: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} | ||
Line 69: | Line 70: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Function Group: AircraftFunctionality|{{uc:AircraftWingStateCheck}}]] | [[Category:Function Group: AircraftFunctionality|{{uc:AircraftWingStateCheck}}]] | ||
[[Category:Functions|{{uc:AircraftWingStateCheck}}]] | [[Category:Functions|{{uc:AircraftWingStateCheck}}]] | ||
[[Category: | [[Category:{{Name|arma3}}: Functions|{{uc:AircraftWingStateCheck}}]] |
Revision as of 15:28, 7 April 2019
Description
- Description:
/* Author: Bravo Zero One development - John_Spartan Description: - This function is designed to prevent take off with folded wings on the Jets DLC aircraft that have such useraction/function enabled. Exucution: - Call the function via int EH on each aircrfat config class Eventhandlers: Eventhandlers { init = "_this call BIS_fnc_AircraftSystemsInit"; }; Requirments: - Compatible aircrfat must have a config definition for all subsytems that will be invoked by this function example of cfgVehicles subclass definitions; class AircraftAutomatedSystems { wingStateControl = 1; //enable automated wing state control to prevent player to take off with folded wings wingFoldAnimations[] = {"wing_fold_l","wing_fold_r","wing_fold_cover_l", "wing_fold_cover_r"}; //foldable wing animation list wingStateFolded = 1; //animation state when folded wingStateUnFolded = 0; //animation state when un-folded wingAutoUnFoldSpeed = 40; //speed treshold when triger this feature, and unfold wings for player }; Parameter(s): _this select 0: mode (Scalar) 0: plane/object Returns: nothing Result: Aircrfat should not be able to take off/ fly with wings folded */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
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