Page 1 of 1

How to add delay in function?

PostPosted: Fri Jun 02, 2006 3:40 pm
by zupernoc
Just got GE, loving it. Searching forums and documentation currently on how to add a delay to a script.

I call a global function called "explosion" which does multiple actions. However, I am trying to figure out how to let one sound finish before the next sound plays... I was thinking of adding some sort of delay.

Otherwise, I assume I could just merge the sounds into 1 file.

PostPosted: Fri Jun 02, 2006 3:59 pm
by irblinx
Youd could create timer from your script and then set the timer event on the actor (which executes once the set time delay is finished) to play the second sound

PostPosted: Fri Jun 02, 2006 5:46 pm
by zupernoc
Thank you! :D