BIS fnc aircraftFoldingWings: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "bis_fnc_" to "BIS_fnc_") |
(formatting) |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.70 | |version1= 1.70 | ||
|arg= local | |||
|eff= global | |||
|gr1= Aircraft Functionality | |gr1= Aircraft Functionality | ||
|descr= | |descr= Handles foldable wings of aircrafts. Is supposed to be used from within class Eventhandlers of the vehicle. | ||
<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= | |r1= [[Nothing]] | ||
|x1= | |x1= <code>[_aircraft, 1] call [[BIS_fnc_aircraftFoldingWings]];</code> | ||
|seealso= | |seealso= - | ||
}} | }} |
Revision as of 10:52, 13 August 2021
Description
- Description:
- Handles foldable wings of aircrafts. Is supposed to be used from within class Eventhandlers of the vehicle.
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:
[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;
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