BIS fnc aircraftFoldingWings: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
Lou Montana (talk | contribs) m (Text replacement - " ( *class [a-zA-Z0-9_]+): *([a-zA-Z0-9_]+ *) " to " $1 : $2 ") |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.70 | |||
| | |arg= local | ||
|eff= global | |||
|gr1= Aircraft Functionality | |gr1= Aircraft Functionality | ||
< | |descr= Handles foldable wings of aircrafts. Is supposed to be used from within class Eventhandlers of the vehicle. See [[Arma 3: Aircraft Systems]] for information about needed config changes. | ||
<syntaxhighlight lang="cpp"> | |||
class Eventhandlers : Eventhandlers | |||
{ | |||
engine = "_this call BIS_fnc_aircraftFoldingWings"; | |||
gear = "_this call BIS_fnc_aircraftFoldingWings"; | |||
}; | |||
</syntaxhighlight> | |||
|s1= [aircraft, animationState] call [[BIS_fnc_aircraftFoldingWings]] | |||
| | |p1= aircraft: [[Object]] | ||
|p2= animationState: [[Boolean]] - (optional, default [[false]]) if [[false]], the function will just terminate | |||
|r1= [[Nothing]] | |||
|x1= <sqf>[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;</sqf> | |||
|seealso= - | |||
| | |||
}} | }} | ||
Latest revision as of 10:58, 6 December 2023
Description
- Description:
- Handles foldable wings of aircrafts. Is supposed to be used from within class Eventhandlers of the vehicle. See Arma 3: Aircraft Systems for information about needed config changes.
class Eventhandlers : Eventhandlers { engine = "_this call BIS_fnc_aircraftFoldingWings"; gear = "_this call BIS_fnc_aircraftFoldingWings"; };
- Execution:
- call
- Groups:
- Aircraft Functionality
Syntax
- Syntax:
- [aircraft, animationState] call BIS_fnc_aircraftFoldingWings
- Parameters:
- aircraft: Object
- animationState: Boolean - (optional, default false) if false, the function will just terminate
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- -
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