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 


Add an option to record combos in fight games cpu ai record
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
asafmor
Newbie cheater
Reputation: 0

Joined: 06 Aug 2016
Posts: 18

PostPosted: Tue May 10, 2022 2:02 pm    Post subject: Reply with quote

how i run this?? you have a guide? what is doing?

LeFiXER wrote:
This is an example of how it will work:
Code:

local comboarray = { 'super_punch', 'super_kick', 'facemasher', 'backflip_kick' }

function randomCombo(arr)
  if arr ~= nil then
    local rng = math.random(0, #arr)
    print(arr[rng])
  end
end

randomCombo(comboarray)


With that said, there won't be anything to "record". It will just be the combo that is executed randomly based on RNG.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

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

PostPosted: Tue May 10, 2022 2:13 pm    Post subject: Reply with quote

asafmor wrote:
how i run this?? you have a guide? what is doing?


In Cheat Engine. (Ctrl, Alt, Shift + L) from the main window, or click the memory view button on the main window, click Tools on the menu followed by Lua Engine (Ctrl + L).
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1250

PostPosted: Tue May 10, 2022 2:38 pm    Post subject: Reply with quote

asafmor wrote:

This is why I want to record the commands that the computer executes.


That was nice. Smile

Everyone is looking for it, only those who know their job find it.

commands executed by the computer.
The functions or codes that the game executes.

First decide where and how to find them, make a start (Google or Youtube).
Later on; Let's meet again on the question of "how to record". Wink

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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