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 


AOB Scan scripts behavior / Conditional AOB Scan

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

Joined: 07 Feb 2018
Posts: 4

PostPosted: Mon Feb 12, 2018 11:42 pm    Post subject: AOB Scan scripts behavior / Conditional AOB Scan Reply with quote

Hi, I'm curious to know what is the behavior of a script with the aobScan function if the aob is not found?
And how would I do a conditional with aobScan? For example do x if Aaob was found elseif Baob was found do Y.
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Tue Feb 13, 2018 9:33 am    Post subject: Reply with quote

try it then.... you'll get much faster results.
Code:
[ENABLE]
aobscan(name, DEADDEADDEADDEADDEADDEADDEADDEADDEADDEADDEAD)
[DISABLE]


it doesn't enable.

As for conditional, use lua or just use two separate scripts. Alternatively do both, it'll probably keep the code simpler (on enable start a timer to wait a bit, when the timer runs destroy the timer so it doesn't keep running and check if the first is actually enabled, if not then try enabling the second).
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 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