BIS fnc exportConfigHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
 
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Export config hierarchy of given config.|Description=
 
____________________________________________________________________________________________
Description:
 


Parameter(s):
| [config,class] call [[BIS_fnc_exportConfigHierarchy]] |Syntax=
0: CONFIG - config path
1 (Optional): STRING - topmost class


Examples:
|p1=config: [[Config]] |Parameter 1=
// Export config hierarchy of all weapons
[configFile >> "CfgWeapons"] call BIS_fnc_exportConfigHierarchy


// Export config hierarchy of all classes inherited from class LandVehicle
|p2=class: [[String]] - Topmost class  |Parameter 2=
[configFile >> "CfgVehicles","LandVehicle"] call BIS_fnc_exportConfigHierarchy


Returns:
STRING - exported text
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[String]] - Exported text in wikitable format |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[configFile]], [[Config]]  |See also=
____________________________________________________________________________________________
}}
 
| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 12:23, 21 June 2018

Hover & click on the images for description

Description

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

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