displayRemoveEventHandler

From Bohemia Interactive Community
Revision as of 13:30, 8 April 2020 by R3vo (talk | contribs) (fixed example (Command returns nothing) and formatted note)
Jump to navigation Jump to search

Template:Command

Notes

Bottom Section

Posted on April 19, 2015 - 21:25 (UTC)
IT07
If you for example used this code to add the eventHandler: _myEH = findDisplay 46 displayAddEventHandler ["KeyDown", "hint str _this"]; Then this would be the correct code to remove that eventHandler again: findDisplay 46 displayRemoveEventHandler ["KeyDown", _myEH];