BIS fnc exportConfigHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Diagnostic |GROUP1=")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic


|gr1= Diagnostic |GROUP1=
|descr= Export config hierarchy of given config.
____________________________________________________________________________________________


| Export config hierarchy of given config.|Description=
|s1= [config,class] call [[BIS_fnc_exportConfigHierarchy]]
____________________________________________________________________________________________


| [config,class] call [[BIS_fnc_exportConfigHierarchy]] |Syntax=
|p1=config: [[Config]]


|p1=config: [[Config]] |Parameter 1=
|p2=class: [[String]] - topmost class


|p2=class: [[String]] - Topmost class  |Parameter 2=
|r1= [[String]] - exported text in wikitable format


|x1= <sqf>[configFile >> "CfgWeapons"] call BIS_fnc_exportConfigHierarchy;</sqf>


| [[String]] - Exported text in wikitable format |Return value=
|x2= <sqf>[configFile >> "CfgWeapons", "LandVehicle"] call BIS_fnc_exportConfigHierarchy;</sqf>
____________________________________________________________________________________________


|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 1=
|seealso= [[configFile]] [[Config]]
 
|x2= <code>[ [[configFile]] >> "CfgWeapons", "LandVehicle" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 2=
 
____________________________________________________________________________________________
 
| [[configFile]], [[Config]] |See also=
}}
}}
<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: Diagnostic|{{uc:exportConfigHierarchy}}]]
[[Category:Functions|{{uc:exportConfigHierarchy}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportConfigHierarchy}}]]

Latest revision as of 17:27, 8 November 2023

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:
configFile Config

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