disable events for entities

Posted By: MPQ

disable events for entities - 04/17/13 14:36

Hi,

the topic is telling everyting: how can I cancel events, eg

my.emask |= ENABLE_SCAN sets the scan bit on 1

and I want to do sth like

my.emask ???? DISABLE_SCAN

How do I do that?

Thanks!
Posted By: Ch40zzC0d3r

Re: disable events for entities - 04/17/13 14:57

my.emask &= ~ENABLE_SCAN
EDIT: Just c&ped the wrong flag^^
Posted By: alibaba

Re: disable events for entities - 04/17/13 15:00

my.emask &= ~ENABLE_SCAN
Posted By: MPQ

Re: disable events for entities - 04/17/13 15:21

Hmm two answers I think at least one will work! Thank you!!
© 2024 lite-C Forums