configHierarchy: Difference between revisions
Jump to navigation
Jump to search
(version 1.48) |
Killzone Kid (talk | contribs) m (only classes are supported) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns hierarchy of the given config. |= Description | | Returns hierarchy of the given config class. Just like with [[inheritsFrom]], only complete config classes are supported |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''configHierarchy''' | | '''configHierarchy''' configClass |= Syntax | ||
|p1= | |p1= configClass: [[Config]] - target config class|= | ||
| [[Array]] - array of parent configs |= Return value | | [[Array]] - array of parent configs |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 18:01, 6 January 2016
Description
- Description:
- Returns hierarchy of the given config class. Just like with inheritsFrom, only complete config classes are supported
- Groups:
- Uncategorised
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:
- configClassesconfigPropertiesmissionConfigFilecampaignConfigFileconfig/nameconfig >> nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberisTextselectisKindOf
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