BIS fnc aircraftSystemsInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= |seealso= }} ")
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Aircraft Functionality


|1.00|Game version=
|descr= <pre>/*
____________________________________________________________________________________________
 
| <pre>/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan
- John_Spartan
Line 39: Line 37:
_this select 0: mode (Scalar)
_this select 0: mode (Scalar)
0: plane/object
0: plane/object


Returns: nothing
Returns: nothing
Result: Aircrfat additional functionality added
Result: Aircrfat additional functionality added


*/
*/</pre>
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_AircraftSystemsInit]]; --> |SYNTAX=
{{Wiki|placeholder}}
|p1= |PARAMETER1=


| |RETURNVALUE=
|s1= <!-- [] call [[BIS_fnc_aircraftSystemsInit]] -->
____________________________________________________________________________________________


|x1= <code></code> |=
|r1=
____________________________________________________________________________________________


| |SEEALSO=
|x1=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: AircraftFunctionality|{{uc:AircraftSystemsInit}}]]
[[Category:Functions|{{uc:AircraftSystemsInit}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:AircraftSystemsInit}}]]

Revision as of 02:36, 13 June 2021

Hover & click on the images for description

Description

Description:
/*
	Author: Bravo Zero One development
	- John_Spartan

	Description:
	- Init function to invoke scripted features required for Jets DLC content.

	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 sub-systems 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 additional functionality added

*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Aircraft Functionality

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

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