I am working on a system where an actor in the game world is set to a random class (BaseWeapon, BaseArmor, BasePotion, etc) and when the Actor is picked up, it is placed in the appropriate slot. I have got the random class portion working. I put several of the Pickup Actors in the level and added a print string for debugging. When I interact with the Actors, it will randomly select one of the three classes. That is working great. The issue is that the rest of the Item Info for those random classes is being set to the Item Info stats for the Pickup Actor. The way I have it connected now is all of the Item Info pins (ItemName, ItemType, ItemRarity, etc) for the Pickup Actor are connected to a Set Item Info node, except for the Item Class which is randomly generated.
I am thinking that I need to set the Item Class first, then get the Item Info from whatever random class was chosen and then set the Item Info that will be placed into the inventory. Am I on the right track here or am I way off?
Any help would be appreciated.