Overview
Excerpt |
---|
Queue a call to a function until a later frame. |
Unlike setTimer(), queue() does not repeat. It will make a single call to the named function at a later frame in the game.
Queued functions persist the save/load cycle. You can therefore look at Saved game files to see what queued functions were defined at the time the game was saved.
Excerpt |
---|
Invoke a function at some point in the future... |
...
...
...
The function must be defined on the global scope - it cannot be a method of an object or anything like that.
...
...
...
...
...
...
...
...
See also