G
gurglovt
Guest
I'm trying to make a boss enemy with 2 or 3 attacks that trigger randomly after however much downtime from the boss itself. I found this:
on another thread, but it didn't work at all, any ideas?
Thanks
GML:
if (start_timer == true) {timer = room_speed * 30;}
if (timer > 0) {timer--;}
if (timer == 0)
{
do alarm stuff
timer = -1; // This is important, or the timer will trigger every step once it runs out
}
Thanks