ctrlRemoveEventHandler – Talk

From Bohemia Interactive Community
Revision as of 01:53, 6 April 2021 by Lou Montana (talk | contribs) (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

May be related

Posted on February 9, 2016 - 01:54 (UTC)
Pierre MGI
A "remove" command doesn't delete the attached handle (_id). This handle (_id) stays as a variable (local or global in its name space). If you need to erase all traces of a CtrlEH, use this command then your_handle = nil; In this way, you can toggle on/off your EH's, with add/remove, without weird result due to a forgotten handle.