ACE3/addons/core/functions/fnc_getChildren.sqf

12 lines
335 B
Plaintext
Raw Normal View History

// by commy2
2015-01-12 11:14:15 +00:00
#include "\z\ace\addons\core\script_component.hpp"
private ["_name", "_cfgClass", "_classes"];
_name = _this select 0;
_cfgClass = _this select 1;
_classes = format ["configName inheritsFrom _x == '%1'", _name] configClasses (configFile >> _cfgClass);
2015-01-11 18:20:14 +00:00
_classes = [_classes, {configName _this}] call FUNC(map);
_classes