Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do I Make A Wait Between Functions?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
vistazzz
How do I cheat?
Reputation: 0

Joined: 23 Feb 2021
Posts: 1

PostPosted: Tue Feb 23, 2021 6:23 pm    Post subject: How do I Make A Wait Between Functions? Reply with quote

Im Making A Program rn And i am having trouble with this.

UDF1.CEEdit1.text = (amount)
amount * 10 = (waitamount)
function Click(sender)
wait"100"
ShowMessage"You Have Clicked this thing"

a function like wait?
does it exist?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 90

Joined: 06 Jul 2014
Posts: 2878

PostPosted: Tue Feb 23, 2021 6:47 pm    Post subject: Reply with quote

sleep(milliseconds) for synchronous execution.
createTimer(delay, function(...),...) for asynchronous execution.
See main.lua for documentation.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites