Download

"Add call to parent function" disabled in Event tick

Hi,

I just started looking into Unreal engine today and I m stuck on 3dPerson PowerUp tutorial, lesson 8. There they add event tick to the event graph and then right click and choose “Add call to parent function”. In my case, however, this is disabled. I do have the tick function defined in my header as

virtual void Tick(float deltaTime) override;

and in cpp as:

void AMyProject2Character::Tick(float deltaTime)
{
Super::Tick(deltaTime);
GetCharacterMovement()->MaxWalkSpeed = SpeedFactor * PowerLevel * BaseSpeed;
}

I built the project and ran directly from VS.

Any ideas why this is disabled ?

I have the exact same problem.

I have the exact same problem here…

this is the BP thread btw, so wrong place to ask, I’ve almost stopped even looking at actual code since I started doing BPs. lol

anyway, in the youtube video saw some similar problems:
“I had the same issue, but now i was able to add it. I’m guessing it’s one of those things that required you to save/compile everything, and then reload.”
(this can occur in UE4 whether you are doing code or BPs)(you often have to save n compile to clear up some problems so the engine can catch up with what you are doing)

youtube video here: https://www.youtube.com/watch?v=giBVXpBFvJc

Yup - if you click Compile the option will come back. Usually just a quick compile on the blueprint level is enough.