BIS fnc exportConfigHierarchy: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
| Export config hierarchy of given config. | | Export config hierarchy of given config. | ||
| [config,class] call [[BIS_fnc_exportConfigHierarchy]] | | [config,class] call [[BIS_fnc_exportConfigHierarchy]] | ||
|p1=config: [[Config]] | |p1=config: [[Config]] | ||
|p2=class: [[String]] - Topmost class | |p2=class: [[String]] - Topmost class | ||
| [[String]] - Exported text in wikitable format | | [[String]] - Exported text in wikitable format | ||
|x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code> | |x1= <code>[ [[configFile]] >> "CfgWeapons" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code> | ||
|x2= <code>[ [[configFile]] >> "CfgWeapons", "LandVehicle" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code> | |x2= <code>[ [[configFile]] >> "CfgWeapons", "LandVehicle" ] [[call]] [[BIS_fnc_exportConfigHierarchy]];</code> | ||
| [[configFile]], [[Config]] | | [[configFile]], [[Config]] | ||
}} | }} | ||
Revision as of 23:03, 17 January 2021
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