2016-02-21 17:08:07 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-08-19 13:23:47 +00:00
|
|
|
params ["_eventName", "_eventTargets", "_eventArgs"];
|
2016-02-21 17:08:07 +00:00
|
|
|
|
2016-05-23 04:13:58 +00:00
|
|
|
private _newName = getText (configFile >> "ACE_newEvents" >> _eventName);
|
|
|
|
if (_newName != "") then {
|
|
|
|
TRACE_2("Switching Names",_eventName,_newName);
|
|
|
|
_eventName = _newName;
|
|
|
|
};
|
|
|
|
|
2016-05-22 15:02:40 +00:00
|
|
|
[_eventName, _eventArgs, _eventTargets] call CBA_fnc_targetEvent;
|
2016-02-21 17:08:07 +00:00
|
|
|
|
2016-05-22 15:02:40 +00:00
|
|
|
ACE_DEPRECATED("ace_common_fnc_objectEvent","3.8.0","CBA_fnc_targetEvent");
|