BIS fnc aircraftFoldingWings: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (link to config page)
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 26: Line 26:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_aircraft, 1] call [[BIS_fnc_aircraftFoldingWings]];</code>
|x1= <sqf>[_aircraft, 1] call BIS_fnc_aircraftFoldingWings;</sqf>


|seealso= -
|seealso= -
}}
}}

Revision as of 13:07, 5 May 2022

Hover & click on the images for description

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:
[_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