| Blockland Forums > Suggestions & Requests |
| EnableEvents and DisableEvents |
| (1/1) |
| Zenthrox:
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. |
| Sebster 105:
You can put ALL in the toggleevents/setevents to do this. IE: --- Code: ---onActivate -> Self -> setEventEnabled [All] [o] --- End code --- |
| Zenthrox:
--- Quote from: Sebster 105 on March 26, 2010, 07:48:09 AM ---You can put ALL in the toggleevents/setevents to do this. IE: --- Code: ---onActivate -> Self -> setEventEnabled [All] [o] --- End code --- --- End quote --- -_- I am disappoint myself. Thank you. Locking. |
| Navigation |
| Message Index |