Jump to content

Is there a command like a sleep command in python?


UglyDucklingStudios

Recommended Posts

I was wondering if there was a command in the G.E.C.K that did the same thing as sleep in python (or just a way to delay a line in a script). If so it would be awesome if you could tell me.

 

float fTicker

begin gameMode

if fTicker <= %NumSecondsYouWantToDelayExecution%
	Set fTicker to fTicker + GetSecondsPassed
else
	DoStuff
endIf

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...