Download

Add Call to Parent with Input

So right now, as far as I can tell, when creating functionality in Blueprints for actors that are extended from code, events like Begin Play can have a call to the parent function added with a simple right click. But for inputs, you have to go and make the function that input calls blueprintable and then call it in the BP and then add your stuff. Would it be possible for Epic to add a simple call to parent function for inputs if anything for consistency?

Thanks!

Any solution to that? Having the same problem, there seem to be no ‘super’ or ‘parent’ to call…

EDIT: Maybe it’s enough to not override the parent call. Select the input event node and unselect ‘Override parent binding’:

EaNTPZ4.png

Any news on this?

I would need something like IF (condition) THEN (handle input here) ELSE (let parent handle this input).

Currently I create manual dummy events ('input_abc") for everything and call them from inside the parent and the child classes.

Input bindings are not virtual function/event overrides, each binding is an individual entry in the array, the override parent binding indicates to remove the old binding(s) when adding this entry.

While in theory a system could be designed such that it visually appears similar to virtual function/event overriding it would be a lot of complex work that I think has a very limited number of use cases where it would provide value, and for those few cases hooking up the bindings at the parent class to an overridable function that you then override in the child class already works great, so introducing the added complexity to the binding is not something we will be pursuing.

1 Like

Hmm, ok. Thanks for the clarification anyway.