I have this actor class called “Area_Dialogue” that is for activating a dialogue when the player character overlaps. I made a child class of it “Area_Dialogue_Phone” that when the player character overlaps with it a phone pops up and the player needs to answer it and when they do the dialogue starts. Once the dialogue is finished it removes and resets the widget to its default and resets the tracker for what line of dialogue its on and removes the phone.
Well I have managed on my own with everything up until the removing of the phone because in the “Area_Dialogue” all the functionalities are on events that are not custom events well for the removal of the phone its an custom event so it doesn’t show inside the child.
This is in the parent class
And this is in the child class
And this is the code that I have a problem with
As you can see in the child class I have added the extra code that is specific for the child in the case of actor overlap
But the code that “I have problem with it” doesn’t show inside the child.
If the custom event would have showed inside the child I would have been able to just add the “Only in Child” part and it would work fine.
Is there a way I can make it show inside the child or do I just make a duplicate of the Parent class and just add the extra code.
Thank you in advance