BIS fnc exportConfigHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic


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


| [config,class] call [[BIS_fnc_exportConfigHierarchy]] |Syntax=
| [config,class] call [[BIS_fnc_exportConfigHierarchy]]


|p1=config: [[Config]] |Parameter 1=
|p1=config: [[Config]]


|p2=class: [[String]] - Topmost class |Parameter 2=
|p2=class: [[String]] - Topmost class




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


|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>|Example 1=
|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code>


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




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



Revision as of 23:03, 17 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


Bottom Section