BIS_fnc_returnChildren

From Bohemia Interactive Community
Revision as of 12:23, 2 January 2019 by R3vo (talk | contribs) (fixed p3)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns all subclasses within given class.
Execution:
call
Groups:
Uncategorised

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) True to return only the last one, false to return all classes
firstTier: String - (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", 0, false, false ] call BIS_fnc_returnChildren;

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