Can't convert blueprint interface function into event as my function now has an output

Hello! I hope this is not too confusing - basically I have used to have 3 blueprint interfaces for interacting with different objects (items, NPCs and items that give you quests) and I have been trying to fuse all 3 of these interfaces into just 1 universal interaction interface.

I had an individual InteractWith function between all 3 interaction interfaces before, all with different inputs and outputs. 2 of my InteractWith functions didn’t have an output while one of them did. So, now that all 3 of these functions are fused together, my new singular InteractWith function has an output. Now that it has an output, I can’t drag my InteractWith function into relevant blueprints as an event (when I try to convert InteractWith to an event, an error appears saying “Convert Event to Function Failed! Function cannot have output parameters”.

This is an issue for me as I’m trying to replace old event nodes that previously came from the separated InteractWith functions without an output (if that makes sense). Here is an example:

I want to replace the event node with my new InteractWith function but I can’t now as it has an output. I can only drag it out as this type of node:

Screenshot 2024-01-16 123410

Is there any way I can make my code work in the same way as it did before now that I can’t make my InteractWith function an event? Thank you!!

1 Like

If your interface has return parameters, then it has to be a function. The way to implement, is to double click the name in the list

image

You have the wrong node there, BTW, that yellow pin gives it away

image

That’s for calling the function from within the BP.

1 Like

This really clears things up, thank you so much!!! =)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.