R
RisingKane
Guest
Hi there!
I'm trying to continue making my game, but I'm facing some objects/instances problems. I'm working on the code (script) below:
But the tricky part is that I have 4 instances of "obj_button" on screen when the game starts, so the messages are shown 4 times, but I want them to be shown only once. Does anyone know how to fix that?
Thanks!
I'm trying to continue making my game, but I'm facing some objects/instances problems. I'm working on the code (script) below:
Code:
with (obj_button) {
if (empty) {
show_message("EMPTY");
}
else {
for (i = 0; i <= array_length_1d(vec_exe) - 1; i += 1){
show_message(vec_exe[i]);
}
}
}
Thanks!