ACE3/addons/common/functions/fnc_removeEventHandler.sqf

14 lines
404 B
Plaintext
Raw Normal View History

2016-05-30 16:37:03 +00:00
#include "script_component.hpp"
2016-06-09 12:24:45 +00:00
params ["_eventName", "_eventCode"];
2016-05-30 16:37:03 +00:00
2016-06-09 12:24:45 +00:00
private _newName = getText (configFile >> "ACE_newEvents" >> _eventName);
if (_newName != "") then {
TRACE_2("Switching Names",_eventName,_newName);
_eventName = _newName;
};
2016-05-30 16:37:03 +00:00
2016-06-09 12:24:45 +00:00
[_eventName, _eventCode] call CBA_fnc_removeEventHandler;
2016-05-30 16:37:03 +00:00
2016-06-09 12:24:45 +00:00
ACE_DEPRECATED("ace_common_fnc_removeEventHandler","3.8.0","CBA_fnc_removeEventHandler");