mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
327 B
Plaintext
15 lines
327 B
Plaintext
|
// by commy2
|
||
|
|
||
|
private ["_configName", "_index"];
|
||
|
|
||
|
_configName = "";
|
||
|
|
||
|
for "_index" from 0 to (count configFile - 1) do {
|
||
|
_config = configFile select _index;
|
||
|
if (isClass _config && {isNumber (_config >> "idd")} && {getNumber (_config >> "idd") == _this}) exitWith {
|
||
|
_configName = configName _config;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
_configName
|