VERSION: 1.55.133167
remove3DENEventHandler is not working.
VERSION: 1.55.133167
remove3DENEventHandler is not working.
in Eden editor
uinamespace setVariable ["first_EH", (add3DENEventHandler ["OnMissionNew",{systemChat "first EH"}])];
uinamespace setVariable ["second_EH", (add3DENEventHandler ["OnMissionNew",{systemChat "second EH"}])];
uinamespace setVariable ["third_EH", (add3DENEventHandler ["OnMissionNew",{systemChat "third EH"}])];
uinamespace setVariable ["forth_EH", (add3DENEventHandler ["OnMissionNew",{systemChat "forth EH"}])];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "first_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "second_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "third_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "forth_EH")];
No errors.
ForEach method also does not work.
{
remove3DENEventHandler ["OnMissionNew",_x];
} forEach [0,1,2,3,...];