If i have blueprint object, which has Tick event on Event graph, and i made new blueprint script which is child of this parent blueprint, and i place Tick event on child Event graph, the parent tick is not executed, until i remove Tick from child.
Hmm i have now idea - to make blueprint function on parent like âtickFunctionâ and call it from Tick event on child Event graph, this could be one solution.
It looks like when you declare a tick event in the child blueprint, you override the tick event in the parent one. It sounds like C++ like problem If you worked in C++, I would suggest you to call the Tick method in the parent class by saying something like âSuper::Tickâ. I do not know if there is a way in blueprints to call parentâs events like this.
yes, i have the same feeling. thats why i was asking for calling parent::tick().
btw in construction tab, there is already placed like parent::construct⌠i was trying to find how did i place it there, then i could find how to add it, so i think it is preapred in construction tab⌠(that means - in construction tab is something similar, but this is not construction tab but event graph tab)
anyway, for my problem, probably only solution is the BP function. i go on it now.
Oh god I was going insane! It just took me like 2 hours to locate the problem within that tick event and another trying to find why it wasnât working.
I just add a custom event, Child Tick that gets called via the tick of the parent blueprint like below.
Parent BP;
Than I add the Child Tick event in the Child blueprint.
Child BP;
The reason why the functionalities from the tick from the parent blueprint doesnât work is because you overwrite the tick from the parent as soon as you call the tick event in the child blueprint. Thats why I make a secondary event that is called as frequent as the tick. If I want to add functionalities to the tick in the child blueprint I can now do that by calling the child tick event, Leaving the parent tick in tact.