I have a script that needs a delay before it goes to the next action for about 2 seconds.. how would I do that??
Printable View
I have a script that needs a delay before it goes to the next action for about 2 seconds.. how would I do that??
since there's not a timer object (i don't there is anyway!), you could try making your own using getDate or getSeconds or something (like you've got in your footer), then compare that with the length of your delay.
If your not worried about accricy, and don't like scripting just add frames. 24 frames is 2 seconds at 12fps.