BIS fnc aircraftFoldingWings: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.70 | |1.70 | ||
|gr1= Aircraft Functionality | |gr1= Aircraft Functionality | ||
<!---|arg= local |Multiplayer Arguments=---> | <!---|arg= local |Multiplayer Arguments=---> | ||
Line 48: | Line 48: | ||
Result: Aircrfat should not be able to take off/ fly with wings folded | Result: Aircrfat should not be able to take off/ fly with wings folded | ||
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> | */</pre>{{placeholder}}<!-- Remove this after fill-in --> | ||
|[] call [[BIS_fnc_AircraftFoldingWings]] | |[] call [[BIS_fnc_AircraftFoldingWings]] | ||
|p1= parameter: Datatype - (Optional, default defValue) description | |p1= parameter: Datatype - (Optional, default defValue) description | ||
|Datatype - description | |Datatype - description | ||
|x1= <code></code> | |x1= <code></code> | ||
|exec= call |Execution= | |exec= call |Execution= | ||
| | | | ||
}} | }} | ||
[[Category:Functions|{{uc:AircraftFoldingWings}}]] | [[Category:Functions|{{uc:AircraftFoldingWings}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:AircraftFoldingWings}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:AircraftFoldingWings}}]] |
Revision as of 22:06, 17 January 2021
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 { engine = "_this call bis_fnc_aircraftFoldingWings"; gear = "_this call bis_fnc_aircraftFoldingWings"; }; 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 */
Template:placeholder- Execution:
- call
- Groups:
- Aircraft Functionality
Syntax
- Syntax:
- [] call BIS_fnc_AircraftFoldingWings
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
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