Inventory equip and unequip problem
Hello there. I'm at my wits end with my equipping/unequipping system in Unreal. I'm fairly new to UE4 in terms of actually making progress on a project but I have a basic grasp on most things. The problem I am having is when I drop a different item that is in the same class as an item I have equipped. So I have an axe in my hand and a pistol in my inventory that are both in the same "Equippable" class of my inventory item struct and dropping the pistol from my inventory causes the axe to become unequipped. I know why but cant figure out a way around it due to my lack of knowledge, that's where i'm hoping you, the experts, come in. I am fairly certain that its all down to the fact that the weapons are in the same class so when im dropping the item and it unequips, its not able to differentiate between the 2 items. I'm essentially looking for a way to make these 2 (2 so far, im planning more) items separate. I really hope this makes sense. Ill post screenshots of my dropping system, Equip, Unequip blueprints and such.
Its probably worth mentioning that i have no character mesh so am using a spring arm with a child actor component attached that i change depending on the item i equip. If you need more information, ask away.
Thanks for taking the time and please go easy with the guidance since im not incredibly experienced.
asked Dec 28 '16 at 05:34 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here