E
Explosive Photons
Guest
MY ALARM ISN'T SETTING OFF!
EXPLANATION:
I have a piece of code in a create event of an object.
global.playerturn = 0;
alarm[0] = 1000;
On the alarm[0] event I have this code:
global.playerturn = 1;
On the press z event I have:
if (global.playerturn = 1) {
effect_create_above(ef_spark,224,128,5,c_red);
}
However, Whenever I press z nothing happens. I have tried waiting for minutes and nothing has happened. I have reloaded the game several times and still nothing. What do I do!?
EXPLANATION:
I have a piece of code in a create event of an object.
global.playerturn = 0;
alarm[0] = 1000;
On the alarm[0] event I have this code:
global.playerturn = 1;
On the press z event I have:
if (global.playerturn = 1) {
effect_create_above(ef_spark,224,128,5,c_red);
}
However, Whenever I press z nothing happens. I have tried waiting for minutes and nothing has happened. I have reloaded the game several times and still nothing. What do I do!?