Calling a function that is implemented from interface blueprint

Hello! :slight_smile:

I’m trying to implement a small inventory, where my Player blueprint calls a function in an InventoryItem blueprint.

So my idea was to create an interface blueprint for my InventoryItems, since my inventory will consist of many different items.

But currently it seems like nothing is passed to my Use Item functionality in my implementation for my interface. Any suggestion what could be wrong or other suggestions is highly appreciated.

This is where i call my function on my Player blueprint.

This is what it looks like when i’m debugging. The shotgun blueprint is implementing the IInventoryItem interface.
The Use Item function in the shotgun blueprint is currently only passing along the New Param to the output of New Param 1.

I’ve watched the Content Examples 3.1 and tried too understand what i’m lacking.

Hey Xonium

Try using BP comms instead;
https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/BlueprintComms/index.html

And if the function doesnt work, use an event to trigger the function (see Tom Shannon’s post at the bottom);

I hope that works!

Best, R

Hi xonium,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.