mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
335 B
Plaintext
12 lines
335 B
Plaintext
// by commy2
|
|
#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);
|
|
_classes = [_classes, {configName _this}] call FUNC(map);
|
|
_classes
|