Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: xenogia on Sat 02/05/2009 06:51:19

Title: Repeat Execute command in GlobalScript?
Post by: xenogia on Sat 02/05/2009 06:51:19
Is there a function within the global script to do a repeat execute in the global script, if so what would the function be called?
Title: Re: Repeat Execute command in GlobalScript?
Post by: monkey0506 on Sat 02/05/2009 07:50:35
Interestingly enough it's called repeatedly_execute. There's also repeatedly_execute_always for actions you want to repeat even during blocking scripts.
Title: Re: Repeat Execute command in GlobalScript?
Post by: xenogia on Sat 02/05/2009 08:46:33
So in the global script its called function repeatedly_execute

Title: Re: Repeat Execute command in GlobalScript?
Post by: monkey0506 on Sat 02/05/2009 15:50:07
In every script except for room scripts. And if you'd like you can even name your rooms' repeatedly execute functions the same way.

Every script uses the repeatedly_execute_always function though, rooms included.