D
dyslexicfurby
Guest
So this one is pretty weird. I made a button object with a Left Released event. Basically the only thing in that event is
scr_attack_roll();
which calls a simple dice roll script:
It then changes the 'message' variable for object TextBoxLong to display the diceroll.
However it seems to be a crap shoot if anything will happen when I click the button. Sometimes nothing, sometimes it will update the text box with the roll. One thing I notice is that once it starts updating, the button will start responding reliably. But until then it can be hit or miss. My project isn't complicated, I'm not sure what's going on here. Any thoughts?
scr_attack_roll();
which calls a simple dice roll script:
Code:
randNum = irandom(10);
inString = "The dice roll is " + string(randNum);
obj_textboxlong.message = inString;
However it seems to be a crap shoot if anything will happen when I click the button. Sometimes nothing, sometimes it will update the text box with the roll. One thing I notice is that once it starts updating, the button will start responding reliably. But until then it can be hit or miss. My project isn't complicated, I'm not sure what's going on here. Any thoughts?