how to avoid new OnMouseUp happen from old OnMouseUp?
Posted: Wed Jun 26, 2019 8:16 pm
I have here a situation where i click from main menu to credits.
Thing is, in this credit menu there is another button in same location, and when i click to go to credits, it also clicks the credits pages button.
More technically, situation is that there exists two simplebuttons with OnMouseUp option.
I click on Button 2, and first it deletes these 2 buttons, then it creates a credit page that creates 6 new Simplebuttons with OnMouseUp-option.
However, even I dont do anything else, it already thinks this one button was pressed.
I can naturally move this button elsewhere or figure some other fix for it, but what I would really like to know is how should I fix this the clean way.
Is there a command to force clear all event calls for example?
That When Button 2 is pressed, I would first delete those two buttons, then Force clear all event, and after that create new buttons.
Thing is, in this credit menu there is another button in same location, and when i click to go to credits, it also clicks the credits pages button.
More technically, situation is that there exists two simplebuttons with OnMouseUp option.
I click on Button 2, and first it deletes these 2 buttons, then it creates a credit page that creates 6 new Simplebuttons with OnMouseUp-option.
However, even I dont do anything else, it already thinks this one button was pressed.
I can naturally move this button elsewhere or figure some other fix for it, but what I would really like to know is how should I fix this the clean way.
Is there a command to force clear all event calls for example?
That When Button 2 is pressed, I would first delete those two buttons, then Force clear all event, and after that create new buttons.