Jump to content

Wait/Sleep Function


LordNiggle

Recommended Posts

inst:DoTaskInTime(delayTimeInSeconds, yourFunction)

inst:DoPeriodicTask(timeBetweenCallsToTheFunction, yourFunction, initialDelayTime)

You can chain DoTaskInTime to do what you want.

There is no way to actually use "sleep" without pausing the entire game.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...