Issues Tutorial Variable Get vs Set

Hi everyone,

I’m trying to get into game creation and UE4 is awesome.
I have some issues with this tutorial:

I can’t get the ‘E’-key event to fire up.
This image represent the blueprint:

I did however manage to make it work if I hacked into the ThirdPersonCharacter like this:

But that is just a hack and it shouldn’t be done like that.
Please help.

Hi and welcome to the forums :slight_smile:

The tutorial is a bit outdated :stuck_out_tongue:

As I can see from the screen you posted you have your own “VariableWorklab” BP but the level uses the default ThirdPersonCharacter BP so it makes sense why the ‘E’ key won’t work.
If you want to use VariableWorklab, then delete the default ThirdPerson BP from the level and drag n’ drop VariableWorklab into the level instead.

Thanks for the help TK-Master.

As a newbie maybe I should have created a blueprint based on third person character like this?:

Not sure. Have not tested it.
Cheers :slight_smile:

Well when I first started I just edited the default blueprint, there is nothing wrong with that :stuck_out_tongue:

If you want to keep the original BP untouched, you can simply make a duplicate.

Thanks great to know. :slight_smile:

You can just do on begin play -> “enable input” because your blueprint wouldn’t have had input enabled by default so pressing the E key wouldn’t do anything. You should be able to test this by watching it during debugging.