I can't get my shop to work with the inventory system. Can someone help me? Here's what I have so far..

Hi NinjaTronixOG.

First off, thanks for the video, it was quite informative of your problem.
I suspect you are right, the issue may lie with your HPPotionRef. The first thing would be to check if the HPPotionRef is valid. Pull off the node and type “IsValid” and put prints on the valid / invalid pins to see which one.

You can also check your logs for “Accessed None” warnings, which will read something like “Accessed none trying to property “HPPotionRef”…” If you see this warning, then the problem is with the reference. (Screenshot to show how to access the output log).

If the reference is valid, then it might be the struct itself not containing the correct information. You can “break” the struct and print out the data of your variables.

If everything comes out as it should, then the issue will most likely lie in your “AddToInventory” or "RefreshInventory functions. Let me know how the testing goes.

Good luck! :slight_smile: