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 


LUA to generate hotkey's for XYZ Coords (for teleporting)

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

Joined: 16 Apr 2013
Posts: 97

PostPosted: Thu Sep 16, 2021 4:17 pm    Post subject: LUA to generate hotkey's for XYZ Coords (for teleporting) Reply with quote

I need some assistance creating a hotkey via lua. I have a a header script that finds my current coords. As children to that header, I have an x address, y address, and z address.

I'd like to be able to right click my X address (always first in coord position) and have a menu item I can select to generate the hotkey based on currently selected item. The idea is for it to prompt me for the hotkey I want as well as a description. It'll then capture my current xyz coords and create hotkeys for each (xyz) all set to the same button (the button I was prompted for) for teleporting.

I'd somehow need it to know which item I've right clicked (will always be X) and have it know to capture the coords for it, then move to Y and Z and do the same. This structure will always be the same (header script with xyz below it).

Grateful for help! Smile
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