BIS fnc getCfgSubClasses: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Configs |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 62: | Line 62: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:getCfgSubClasses}}]] | [[Category:Functions|{{uc:getCfgSubClasses}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:getCfgSubClasses}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:getCfgSubClasses}}]] |
Revision as of 12:29, 12 October 2020
Description
- Description:
/* Description: Return all child classes of given class. Remark(s): * Can by called 2 ways: * 1st way (general) works for any config. * 2nd way is for comfortable working with mission description.ext. Parameter(s): _this: CFG _this: ARRAY of STRINGS - missionConfigFile classes and an attribute. Example: * 1st way of calling: _subclasses = (missionconfigfile >> "Hubs" >> "A1" >> "QuickStart") call Bis_fnc_getCfgSubClasses; * 2nd way of calling: _subclasses = ["Hubs"] call Bis_fnc_getCfgSubClasses; Returns: ARRAY (of STRINGS with sub-classes names) */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
_allVehHitPoints = (configfile >> "CfgVehicles" >> "C_Hatchback_01_sport_F" >> "HitPoints") call BIS_fnc_getCfgSubClasses;
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