What it does
globals.sleep takes milliseconds.
Signature
sleep(milliseconds)Arguments
milliseconds
Example · generated
function start() { sleep(1);}globals.sleep is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.