LordNiggle Posted September 22, 2019 Share Posted September 22, 2019 Is there a way to do something like this? (function) wait(0.5) (function) theres gotta be a wait/sleep statement for timing. Link to comment Share on other sites More sharing options...
Ultroman Posted September 22, 2019 Share Posted September 22, 2019 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 More sharing options...
Recommended Posts
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.