Function's net flags don't match parent function's net flags

Hello all!

This is an issue I have come across while working with derived blueprints.
I have a class called ‘Firearm’ with several events, and a class ‘AutoFirearm’, which is a child of the Firearm class. One of the events in the Firearm class is called ‘Fire’, it is set to no replication. In the AutoFirearm class I want to override the Fire event, but I am getting the error mentioned in the headline.

Here is an image of the event declaration in the Firearm class:

And here you can see my attempt to override the event and the error message it produces:

12308-bug2.png

And the weird thing about it is, that I have events with the exact same settings that I can override, the problem is only occurring with two of them.
A suspicion of mine is that it has something to do with the fact, that those events were once functions before I deleted them and created events with the same names.

So does anybody know what is actually causing this error and how to get rid of it?
Thanks!

Hi ,

This is a known issue and is currently being assessed. A good workaround for this is to create a function in the child class with the exact same name as the function in the parent class. This will work to override the parent classes function.

I was trying to do this but could not create an “inherited” function.

Here is my base event calling a function called “fActivate” (i tried purely overriding events too but that failed as well)

https://dl.dropboxusercontent.com/u/15057715/Screenshots/ue4-base-event.png

Here is the inherited blueprint where I’m trying to create a similar function.

https://dl.dropboxusercontent.com/u/15057715/Screenshots/ue4-inherited-extending.png

Hi ,

Did you try this as a custom event instead of as an entirely new function? To do this, right click in the graph and create a custom event node, then rename that node to your needed function.