Page MenuHomeFeedback Tracker

remove3DENEventHandler is not working. VERSION: 1.55.133167
Closed, ResolvedPublic

Description

VERSION: 1.55.133167

remove3DENEventHandler is not working.

Details

Legacy ID
3382310278
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Eden Editor
Steps To Reproduce

in Eden editor

  1. open debug console, execute

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"}])];

  1. Press "new mission button" ---> messages displayed
  1. open debug console and execute

remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "first_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "second_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "third_EH")];
remove3DENEventHandler ["OnMissionNew",(uinamespace getVariable "forth_EH")];

  1. Press "new mission button" ---> messages displayed again, while they should not.
Additional Information

No errors.

ForEach method also does not work.
{

remove3DENEventHandler ["OnMissionNew",_x];

} forEach [0,1,2,3,...];

Event Timeline

mind edited Steps To Reproduce. (Show Details)Nov 6 2015, 1:16 PM
mind edited Additional Information. (Show Details)
mind set Category to Eden Editor.
mind set Reproducibility to Always.
mind set Severity to None.
mind set Resolution to Fixed.
mind set Legacy ID to 3382310278.May 8 2016, 1:03 PM
mind edited a custom field.
Adam added a comment.Nov 9 2015, 1:04 PM

Will be fixed on devbranch soon™