ctrlRemoveEventHandler – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(→‎May be related: new section)
 
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
Line 3: Line 3:
<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on February 9, 2016 - 01:54 (UTC)</dd>
<dd class="notedate">Posted on February 9, 2016 - 01:54 (UTC)</dd>
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt>
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt>

Revision as of 14:36, 5 April 2021

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.