BIS fnc returnChildren: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (chore: remove redudant square brace)
Line 9: Line 9:
| Returns all subclasses within given class.
| Returns all subclasses within given class.


| [config, depth, lastTier, firstTier]] call [[BIS_fnc_returnChildren]]
| [config, depth, lastTier, firstTier] call [[BIS_fnc_returnChildren]]


|p1= config: [[Config]] - Class which is searched
|p1= config: [[Config]] - Class which is searched

Revision as of 01:55, 10 May 2021

Hover & click on the images for description

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:
Return value needed

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