So, whenever I adding a variable to my blueprint interface function, I am losing an ability to call it as an Event, and every already existing Event of that function becoming renamed , saying: Conflicted with K2Node_Event_12 and was replaced as a Custom Event!
Events can’t have outputs.
The event will already be present in the receiving blueprint
@illspiritx is exactly right, and that brief answer is 100% correct.
To add on top of that: What you’re adding is not a “variable” but an “output value;” when I clicked into this thread I expected a different question. Something to keep in mind for the next question, to reduce confusion.
Also: To return values in interface functions, you need to implement the interface with a function, rather than an event. In general, functions are the “cleaner” way to organize Unreal classes / blueprints, but I understand the convenience of events. (As usual, the convenient thing is only the right thing when the task is small and well contained …)
I am following a course now, and teacher is using this trick pretty often, he doesn’t have the same issue as I am. Maybe something changed in 5.3 since this course was captured in older version of UE
Okay guys , I am just dumb, was creating an output value instead of input value… have a nice day you all and sorry for the trouble)
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.