Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What does wait(-1) do?

Asked by 10 years ago

I didn't dare to try this because I was worried it would crash, but what does the -1 affect do?

0
I don't think it may work, since -1 isn't a second value. According to wiki, if the time isn't specified (in this case, I suppose), it will wait 1/30th. Tesouro 407 — 10y

1 answer

Log in to vote
3
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

It will act just like wait(0), which waits for some small default time (typically .034 seconds or so).

Things don't crash so easily.

0
Oh, Thanks man, you saved me from the fear of it crashing. XD TheeDeathCaster 2368 — 10y
Ad

Answer this question