How to change the "key" in lua scripts
Hey guys, I hope this thread is read. I'm an idiot when it comes to this modding stuff.
I have Notepad++ downloaded in order to read the .lua scripts I download for the Alice program.
I've been noticing that ALL the scripts being released have TAB as the activation key. Is there any way (which I'm sure this is) I can change what key is used to activate the script?
For example: I have currently been using the saveme.lua script. To save anywhere, I just have to hit TAB.
Recently I downloaded the Bullet-time script and the Clear Wanted Level script.
Both of these use TAB as their key.
Can someone tell me/walk me through how to change the activation key so I can be able to use all scripts?
Thanks a lot. Forgive my ignorance! lol
hey, don't worry about it - it's not ignorance, everybody's gotta learn somehow! :P I'll use the saveme.lua script as an example.. at the bottom of the file you'll see this line twice:
furthermore you can make the LUA code run on two keypresses by doing something like:
DUDE!!! You da man. haha
Thank you so much for this. I'm just getting into .lua scripting and modding. So this helps a TON!
Thanks, and probably look for more Q's in the future!
why is it some keys cant be used?
|All times are GMT -6. The time now is 08:46 AM.|