configHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
Line 11: Line 11:
| '''configHierarchy''' configClass
| '''configHierarchy''' configClass
|p1= configClass: [[Config]] - target config class
|p1= configClass: [[Config]] - target config class
| [[Array]] - array of parent configs
|r1= [[Array]] - array of parent configs


|x1= <code>_hierarchy = [[configHierarchy]] ([[configFile]] >> "CfgVehicles" >> "Car");
|x1= <code>_hierarchy = [[configHierarchy]] ([[configFile]] >> "CfgVehicles" >> "Car");

Revision as of 14:34, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Config

Syntax

Syntax:
Syntax needed
Parameters:
configClass: Config - target config class
Return Value:
Array - array of parent configs

Examples

Example 1:
_hierarchy = configHierarchy (configFile >> "CfgVehicles" >> "Car"); //[bin\config.bin,bin\config.bin/CfgVehicles,bin\config.bin/CfgVehicles/Car]

Additional Information

See also:
See also needed

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