BIS fnc returnChildren: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <!--- |exec= spawn --->" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
||
Line 19: | Line 19: | ||
|p4= firstTier: [[Boolean]] - (Optional, default [[true]]) [[true]] to return the first class, [[false]] to return only the last one | |p4= firstTier: [[Boolean]] - (Optional, default [[true]]) [[true]] to return the first class, [[false]] to return only the last one | ||
| [[Array]] - Classes | |r1= [[Array]] - Classes | ||
|x1= <code>[<nowiki/>[[configFile]] >> "CfgFunctions", 2] [[call]] [[BIS_fnc_returnChildren]]; {{cc|returns config paths of all functions}}</code> | |x1= <code>[<nowiki/>[[configFile]] >> "CfgFunctions", 2] [[call]] [[BIS_fnc_returnChildren]]; {{cc|returns config paths of all functions}}</code> |
Revision as of 13:22, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- 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; // returns 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