BIS fnc returnChildren: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Configs |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 35: | Line 35: | ||
| [[BIS_fnc_returnParents]] |See also= | | [[BIS_fnc_returnParents]] |See also= | ||
}} | }} | ||
Revision as of 11:37, 12 October 2020
Description
Syntax
- Syntax:
- [config,depth,lastTier,firstTier]] call BIS_fnc_returnChildren
- Parameters:
- config: Config - Class which is searched
- depth: Number - Depth, (0 = return only subclasses, 1 = return subclasses of subclasses, and so on...
- lastTier: Boolean - (Optional, default true) False to return only the last one, true to return all classes
- firstTier: Boolean - (Optional, default true) True to return the first class, false to return only the last one
- Return Value:
- Array - Classes
Examples
- Example 1:
[ configFile >> "CfgFunctions", 2 ] call BIS_fnc_returnChildren;//Return config paths of all functions
Additional Information
- See also:
- BIS_fnc_returnParents
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