Hi I built an inventory system but want to make it more streamlined. I posted a similar post here: Max number of variables in a Struct? - Blueprint Visual Scripting - Unreal Engine Forums but I started a new thread because it’s a different question.
I just wanted to know the best practice to setup the blueprints for an inventory.
I have a BP_MasterItem as the parent class without a struct right now.
What I have so far:
Each sub class has their own struct, is this what I should do? I only have one main inventory array. This might be an obvious question but I would then need an array for each sub class struct right? I would need to make a master struct with each sub class array variable? and then add that struct to the BP_MasterItem?
Once I figure this out I can build this but for some reason I can’t figure out the best approach right now.
My end goal would be to have a data table for each sub class so making default editing simple and easy. I hope I can still use separate data tables per sub class.
Let me know you ideas and thanks.