BIS fnc exportConfigHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Diagnostic(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic |GROUP1=
____________________________________________________________________________________________


| Export config hierarchy of given config.|Description=
| Export config hierarchy of given config.|Description=
____________________________________________________________________________________________


| [config,class] call [[BIS_fnc_exportConfigHierarchy]] |Syntax=
| [config,class] call [[BIS_fnc_exportConfigHierarchy]] |Syntax=
Line 20: Line 17:


| [[String]] - Exported text in wikitable format |Return value=
| [[String]] - Exported text in wikitable format |Return value=
____________________________________________________________________________________________


|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 1=
|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 1=
Line 26: Line 22:
|x2= <code>[ [[configFile]] >> "CfgWeapons", "LandVehicle" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 2=
|x2= <code>[ [[configFile]] >> "CfgWeapons", "LandVehicle" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 2=


____________________________________________________________________________________________


| [[configFile]], [[Config]]  |See also=
| [[configFile]], [[Config]]  |See also=

Revision as of 23:12, 16 January 2021

Hover & click on the images for description

Description

Description:
Export config hierarchy of given config.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[config,class] call BIS_fnc_exportConfigHierarchy
Parameters:
config: Config
class: String - Topmost class
Return Value:
String - Exported text in wikitable format

Examples

Example 1:
[ configFile >> "CfgWeapons" ] call BIS_fnc_exportConfigHierarchy;
Example 2:
[ configFile >> "CfgWeapons", "LandVehicle" ] call BIS_fnc_exportConfigHierarchy;

Additional Information

See also:
configFileConfig

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


Notes

Bottom Section