Apologies, i’m new to UE - and i’m having trouble implementing an interface which i thought should work fine.
I have an inventory system where each slot is a button, when clicked i wish to have implement the function within that blueprint (for example if its a health potion in that slot, i want it to run the functions from the health potion blueprint)
In the inventory slot blueprint i have the following:
if you’re running the code on the health potion you need to put the interface on the health potion, you’re calling the player pawn, also make sure thats valid too
I worked out the issue - i was trying to call the interface on the health potion even though it had been removed from the game and was only valid as an icon in the inventory!