Thread: Looping
View Single Post
  #4  
Old 12-12-2001, 05:47 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Re: Looping

Quote:
Originally posted by ShockwaveISTHEBEST
How do you make something loop. For instance.

if (playerenters) {
hide;
sleep 2;
show;
sleep 2;
}

How would i loop it?
Thanks. =]
NPC Code:

if (playerenters||timeout) {
hide;
sleep 2;
show;
sleep 2;
timeout=.05;
}



I will have timeouts in my script guide soon
Reply With Quote