Quote:
Originally posted by AlexH
if (timeout) {
*code;
}
timeout = 0.1 <---- thats the lowest timeout can be
|
heres what i got maybe you could add it in because i tried your idea and it doesnt work
i also tried putting the timeout = 0.1 inside the brackets but still it doesnt work
if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........
.........sleep 0.05;
sprite=0;
}
then i tried
if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........
.........sleep 0.05;
sprite=0;
}
timeout = 0.1;
also
f (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........
.........sleep 0.05;
sprite=0;
timeout = 0.1;
}