Ok, here goes. I have a sword. When I right click while holding the sword it will replace the sword with another item, lets call this item sword_blocking. I've got this bit working. Now, what I want, is a function that makes the sword_blocking item get replaced with an item of my choice. So like this:
Holding sword>hold down rightclick replaces with sword_blocking>when I release the rightclick I get another item of my choice.
I know about the controls mod and how it has a function for this type of thing but I couldnt get that working. How would I do this? Any example code will be wonderful. Thanks for your time!
item replacement when RMB is released?
item replacement when RMB is released?
Testin' mines since 1989
Who is online
Users browsing this forum: Semrush [Bot] and 9 guests