configHierarchy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| Returns hierarchy of the given config class. Just like with [[inheritsFrom]], only complete config classes are supported
| Returns hierarchy of the given config class. Just like with [[inheritsFrom]], only complete config classes are supported


| '''configHierarchy''' configClass
|s1=  '''configHierarchy''' configClass
 
|p1= configClass: [[Config]] - target config class
|p1= configClass: [[Config]] - target config class
|r1= [[Array]] - array of parent configs
|r1= [[Array]] - array of parent configs

Revision as of 23:13, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Config

Syntax

Syntax:
configHierarchy configClass
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