Author Topic: EnableEvents and DisableEvents  (Read 508 times)

Just two simple events that would make activating and deactivating events in a brick easier, so instead of disabling all the events on a brick this way:

OnActivate -> Named Brick [button] -> setEventEnabled -> [0 1 2 3 4 5 6 7 8 9 10] []

You could disable them like this:

OnActivate -> Named Brick [button] -> DisableEvents

And the events could be enabled again in the same manner.

You can put ALL in the toggleevents/setevents to do this.
IE:
Code: [Select]
onActivate -> Self -> setEventEnabled [All] [o]

You can put ALL in the toggleevents/setevents to do this.
IE:
Code: [Select]
onActivate -> Self -> setEventEnabled [All] [o]

-_-

I am disappoint myself. Thank you.

Locking.