BIS fnc exportConfigHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
Line 16: Line 16:
|r1= [[String]] - exported text in wikitable format
|r1= [[String]] - exported text in wikitable format


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


|x2= <sqf>[ configFile >> "CfgWeapons", "LandVehicle" ] call BIS_fnc_exportConfigHierarchy;</sqf>
|x2= <sqf>[configFile >> "CfgWeapons", "LandVehicle"] call BIS_fnc_exportConfigHierarchy;</sqf>


|seealso= [[configFile]] [[Config]]
|seealso= [[configFile]] [[Config]]
}}
}}

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