Override function in widget becomes an event.

If I have a widget that is a child (B) of another widget (A) and A has a function, if I then override the function in B, it becomes an event in the event graph instead of a function.

I worked around it by making the function have an output and then delete the output, but thought i would report it.

Hello ste1nar,

After looking into your issue, it appears that this is working as intended. Functions with no return values are overridden by placing them as events. I hope that this information helps. Thank you for your time and information.

Make it a great day

I have come to a point where I am overriding a lot of functions where few has a return value and the use of local variables is needed or helpful. I find it a bit strange that functions becoming events would be intended, the event graph gets really big.

A workaround is simple enough, I can just add a dummy output. But is that a recommended solution? I mean, i’m not a knowledged programmer so I wouldn’t know if there are any unexpected effects of doing so. I suppose there are no plans to change it?

Doing this all over the place:

121228-dummyoutput.png

Then you rename overrided function in parent, childs function not renamed and looses override status(override function icon).