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 


Game function call

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

Joined: 30 Sep 2018
Posts: 9

PostPosted: Wed Apr 08, 2020 8:32 am    Post subject: Game function call Reply with quote

Hello, guys. I have access to the console of the game, which is written with the help of the lua, but I can not perform the game functions. There is a LuaGetLocalHeroPosition() function in the game’s memory, if I add it to the code, an error appears:

Code:
attempt to call global 'LuaGetLocalHeroPosition' (a nil value)


Command start is initialized through this function:

Code:
LuaConsole = LuaConsole or {}

function LuaConsole:RunCommand()

  LuaGetLocalHeroPosition()
 
end


How can I call these functions so that they work through the console?
Please help :c
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