bigpak Posted January 16, 2015 Share Posted January 16, 2015 (edited) My custom weapon is not going back to the inventory slot it is in when I unequip it, instead it is going into my piggyback. I am not sure why, can someone please take a look at my code? Any ideas on why it is doing this? I am so confused... http://pastebin.com/gNS3NMhs EDIT: Does it have anything to do with the piggybacks code? I feel as if an item goes in there, it is... cursed to constantly go back in there after it has gone in there once. I am using the RPG HUD all in one, let me grab the code. NOTE: This is NOT my code, I do not want to take credit for something I have not done. The code belongs ot the author of the RPG HUD mod. http://pastebin.com/mAmZiks5 Anyone? :c Edited January 16, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/49211-custom-weapon-not-going-back-to-correct-inventory-slot/ Share on other sites More sharing options...
Mobbstar Posted January 16, 2015 Share Posted January 16, 2015 I have experienced this with "not quiet" tools (such as the cane), as the game doesn't recognize them as tools and thus orders them differently. Did you try to distinctly put it into a slot before equipping it (maybe using right-click)? Link to comment https://forums.kleientertainment.com/forums/topic/49211-custom-weapon-not-going-back-to-correct-inventory-slot/#findComment-602618 Share on other sites More sharing options...
bigpak Posted January 16, 2015 Author Share Posted January 16, 2015 I have experienced this with "not quiet" tools (such as the cane), as the game doesn't recognize them as tools and thus orders them differently. Did you try to distinctly put it into a slot before equipping it (maybe using right-click)? Sadly yes, I have tried everything. It seems to me that if it has gone in the piggyback, it will always go back to it. I am going to do further testing today and attempt to clean up some code and see if that fixes anything, doubtful but hey, maybe I can pinpoint it? *shrugs* Link to comment https://forums.kleientertainment.com/forums/topic/49211-custom-weapon-not-going-back-to-correct-inventory-slot/#findComment-602690 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