![]() |
waitfor bug?
Okay, so I was playing around with waitfor, and noticed this.
PHP Code:
PHP Code:
Note that this is just a test, I know of other perhaps more... accurate ways of using waitfor. Nonetheless, it'd be neat if this could work. |
waitfor() will steal the event, meaning onDebugEvent() never happens.
I had wanted a waitfor2() or so that returns event parameters instead of boolean. |
An object can only catch an event one time, thats why you cannot add more than one MyButton.onAction() to the same script either.
Receiving the parameters of the event would be helpful in some cases yes. I think you can actually access them via params[] but have not tested it yet. |
All times are GMT +2. The time now is 06:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.