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 


Cheat Engine script limit value

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

Joined: 01 Aug 2022
Posts: 5

PostPosted: Mon Aug 01, 2022 11:32 am    Post subject: Cheat Engine script limit value Reply with quote

Hi all! I am new here in the area and I would like to know some information that could be necessary and useful for me. In principle, I need a script for example for the hit shots. Hit shots are numbered (1-2-3-4) I would like to limit this value and I would like it to reach only the value (1-2-3) and then take it from the beginning. Thank you very much!
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1053
Location: 0x90

PostPosted: Mon Aug 01, 2022 12:07 pm    Post subject: Reply with quote

What do you have so far?
Back to top
View user's profile Send private message
dny4pvp
How do I cheat?
Reputation: 0

Joined: 01 Aug 2022
Posts: 5

PostPosted: Mon Aug 01, 2022 12:26 pm    Post subject: Reply with quote

I have all the pointers removed, but simply if I leave auto-attack on, the character will do the following sequence of hits 1....2....3....4... then he takes it from 1 and so on, I only need him to do 1....2....3.... 1.....2....3.....1.....2....3 to eliminate the 4th hit


ibb.co/NpNDZdn img with pointer

and when not attacking the value is 0
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Tue Aug 02, 2022 2:53 am    Post subject: Reply with quote

freeze the record and then set the value to
Code:

(value<4) and value or 1

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dny4pvp
How do I cheat?
Reputation: 0

Joined: 01 Aug 2022
Posts: 5

PostPosted: Tue Aug 02, 2022 4:35 am    Post subject: Reply with quote

Yes, it's an ingenious idea, but if I freeze at a value lower than 4, it remains frozen at the value 3, for example, I need it not to get stuck in one value and go through all of them: For example: shift values ​​are 0-1-2-3-4 and I need the example to change when I act in the game Everything happens when I hold down space which makes the attack animation (0-1-2-3-4) hits. I want to do for example: 1..2..1...2...1...2 (only within the radius of 1 and 2)
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