Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Timer

6 replies · 1,763 views · Started 27 January 2008

Waitframes(f); ,were f is the amount of frames to wait.

[SIZE="1"]where isn't mispelled, it's just a fool mune...gah, I give up.[/SIZE]

Also, waitframe only works in freeform combo scripts. If you use it in a global or item script, you will be sorry. However, for global scripts, there are work arounds. You can create a global variable, decrease it each frame, and have the script do something when the variable reaches zero.

russadwan wrote:Also, waitframe only works in freeform combo scripts. If you use it in a global or item script, you will be sorry. However, for global scripts, there are work arounds. You can create a global variable, decrease it each frame, and have the script do something when the variable reaches zero.

Unlike what you just said, global scripts can wait as long as they want.

If you wait for 20 seconds, the rest of your script will stop running.

That's a rather large time period for your script to stop.