I tried this:

beep();
while(firenumber<5){wait(1);}
beep();

The first beep comed, but not the second smirk
And how I said, I made a digit on a panel for the variable "firenumber", and it counts fine...

EDIT:
I tried this:

beep();
while(firenumber<5){beep();wait(-1);} //beep every second
beep();beep();beep();beep(); //make four fast beeps

Ingame, it beeped first, then it beeped every second.
But when I extinguished one fire, it stopped beeping, but not four fast beeps. The whole function got stuck (maybe) It's so confusing :S

Last edited by hopfel; 01/23/10 22:12.

Hilf mir, dir zu helfen!