ctrlRemoveEventHandler – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
 
Line 1: Line 1:
== May be related ==
== May be related ==


<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dt></dt>
Line 12: Line 11:
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 01:53, 6 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.