2015-05-01 17:37:17 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2019-05-06 15:05:04 +00:00
|
|
|
|
|
|
|
// Show warning for launchers still using disposables
|
|
|
|
{
|
|
|
|
private _nonInheritedCfg = configProperties [_x, "configName _x == 'ACE_UsedTube'", false];
|
|
|
|
if ((count _nonInheritedCfg) == 1) then {
|
|
|
|
private _weapon = configName _x;
|
|
|
|
if (_weapon != "launch_NLAW_F") then { // ignore the one we modifiy ourselves
|
|
|
|
WARNING_1("[%1] ACE_disposables functionality will be removed in a future version - switch to CBA Disposables",_weapon);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
} forEach ("isText (_x >> 'ACE_UsedTube')" configClasses (configFile >> "CfgWeapons"));
|