parameters float value in seconds of the time to wait
sys.wait( 3 ); float delayTime = 5; sys.wait( delayTime );
wait will halt execution for the current thread for an amount of time based on the parameter. Other threads will continue to run.
A parameter of zero or less will cause execution to halt for one frame. If that's your intent, use waitFrame instead.