Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RAY-O STUDIOS on Wed 02/05/2007 07:39:44

Title: Scripting problem with SetTimer function
Post by: RAY-O STUDIOS on Wed 02/05/2007 07:39:44
I can't use the timer!
Yes,the game compiled,but the script that i triggered in "IsTimerExpired{"
Doesn't run!
help me!
Title: Re: Scripting problem with SetTimer function
Post by: Gilbert on Wed 02/05/2007 07:41:49
Can you elaborate your problems by at least posting the part of your script in question please? :P

Anyway I'm moving this to Beginners' tech so more people may be able to help.
Title: Re: Scripting problem with SetTimer function
Post by: Khris on Wed 02/05/2007 10:41:42
You've got to put " if (IsTimerExpired(x)) { ... }" inside a repeatedly_execute function, either the one in the global script or the room's.