On Thu, 21 Nov 2002, Boh-Ahz wrote: > I am working with pretty much the stock version of Nylander's progs. > What want to do is create some kind option to pause between prog > commands. Syntactically, there are quite a few ways to do this. One > example I have seen in the list here previously looked like. > > say Hello. > pause 2 > say What a fine day. I did something with this at one time, adding a linked list to mobs that contains the commands in the program. When the interpreter came to a pause command, it would add a wait to the mob which is decremented in update, and queue the rest of the code. When the delay expired, the interpreter was called with the remaining mobprog code. Probably not the best solution, but it worked.
Stephen

