Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: AndersM on Sun 24/10/2004 21:46:52

Title: another command than Wait?
Post by: AndersM on Sun 24/10/2004 21:46:52
John (the hero) enters a room. When he's entered the room, Doc (another
character) is going to start talking to him, but I want Doc to wait untill John have
been in the room for 5 seconds before he starts talking. If I use WAIT the entire
game is 'paused'. for those five seconds, so my question is what other commands
is there that I can use?
Title: Re: another command than Wait?
Post by: Goot on Sun 24/10/2004 22:34:25
Use Timers. SetTimer(int timer, int timeout); and IsTimerExpired(int timer); look those up in the help section.