configHierarchy: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (wip) |
Killzone Kid (talk | contribs) (param) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''configHierarchy''' |= Syntax | | '''configHierarchy''' config |= Syntax | ||
|p1= config: [[Config]] - target config|= | |||
| [[Array]] - array of parent configs |= Return value | | [[Array]] - array of parent configs |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 15:39, 23 June 2015
Description
- Description:
- Returns hierarchy of the given config.
- Groups:
- Uncategorised
Syntax
- Syntax:
- configHierarchy config
- Parameters:
- config: Config - target config
- 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 >> nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberisTextselect
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
[[Category:Introduced with arma3dev version 1.47]][[ Category: arma3dev: New Scripting Commands | CONFIGHIERARCHY]][[ Category: arma3dev: Scripting Commands | CONFIGHIERARCHY]]