Page MenuHomeFeedback Tracker

displayAddEventHandler's are not removed/deleted after SinglePlayer mission Restart
Closed, ResolvedPublic


adding an displayAddEventHandler via .sqf file or debug consol and restarting mission from ingame the displayAddEventHandler's are not removed/deleted from the Button and in some cases are duplicated after every restart.


Won't Fix
Operating System
Windows 10
Steps To Reproduce
  1. start a test mission
  2. try with this code from debug consol for example: pressing Space Key will show a text
[] spawn {

waituntil {!isnull (finddisplay 46)};
_chat = (findDisplay 46) displayAddEventHandler ["KeyUp", {

 params ["_display", "_key", "_shift", "_ctrl", "_alt"];
   if (_key == 57) then {
   	systemChat "This DAddEventHandler should be removed/deleted after SP Mission Restart";
  1. restart game from menu and press Space key again

Event Timeline

alert23 created this task.Feb 8 2021, 6:55 PM
alert23 edited Steps To Reproduce. (Show Details)Feb 8 2021, 6:57 PM
alert23 updated the task description. (Show Details)Feb 8 2021, 7:00 PM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Feb 14 2021, 11:40 PM
BIS_fnc_KK closed this task as Resolved.
BIS_fnc_KK changed Resolution from Open to Won't Fix.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Unfortunately this is not fixable due to backward compatibility issues. Restart functionality is part of Mission Save, Load, Restart routine and forcefully removing event handlers now could affect existing scenarios.