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 


2 functions in a single script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
buyx86
Advanced Cheater
Reputation: 0

Joined: 10 May 2011
Posts: 84
Location: Philippines

PostPosted: Sun Apr 05, 2026 7:14 am    Post subject: 2 functions in a single script Reply with quote

Is there a way to create a script with two functions inside it? There is this value that goes up whenever you kill an enemy but also goes down whenever you get hit. I've already found the opcodes that write to their individual addresses. It's easy to create a script for the going down part by just adding nop. And I already know how to do the other one where just killing one enemy max out the value. My question is, can I create a single script that can do both? Or is there a better way to always max out the value if there is any change to it?
Back to top
View user's profile Send private message Yahoo Messenger
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25909
Location: The netherlands

PostPosted: Sun Apr 05, 2026 7:16 am    Post subject: Reply with quote

yes
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 518

PostPosted: Sun Apr 05, 2026 8:17 am    Post subject: Reply with quote

topic should be moved, no?
Back to top
View user's profile Send private message
buyx86
Advanced Cheater
Reputation: 0

Joined: 10 May 2011
Posts: 84
Location: Philippines

PostPosted: Sun Apr 05, 2026 9:18 am    Post subject: Reply with quote

Frouk wrote:
topic should be moved, no?


Could you redirect me to a topic that could walk me through solving my queries?
Back to top
View user's profile Send private message Yahoo Messenger
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 518

PostPosted: Mon Apr 06, 2026 1:39 am    Post subject: Reply with quote

there was no need to question the request of moving it to appropriate forum page
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