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 https://forums.kleientertainment.com/forums/topic/112003-waitsleep-function/ 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 https://forums.kleientertainment.com/forums/topic/112003-waitsleep-function/#findComment-1263491 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now