Herany Posted January 16, 2020 Share Posted January 16, 2020 Hi, I am a beginner modder who doesn't know much about Lua. I have a mod that I want to make, so I studied Lua scripts, but I still don't know how to make what I want. I want to add one key and press this to make the staff carry out another attack. For example, if I press the mouse LB, there is a staff that makes a fire attack. This staff changes when I press the newly added key. Now, when I press the mouse LB, this staff makes an ice attack. I would appreciate it if you could let me know if there was any other way to do various attacks with one staff. Thank you for reading it. Link to comment https://forums.kleientertainment.com/forums/topic/114998-helphow-do-i-add-a-new-key/ Share on other sites More sharing options...
Thomas_klei Posted January 16, 2020 Share Posted January 16, 2020 15 hours ago, Herany said: beginner modder don't try to do something like this, but if you want to look out for mods that do this and use there code as reference but not to copy Link to comment https://forums.kleientertainment.com/forums/topic/114998-helphow-do-i-add-a-new-key/#findComment-1299436 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now