Teleporting through a list (array) of locations in order

Hello @ClockworkOcean
Your teleport BP is exactly what I was searching for, Thank you! But unfortunately I cant´t get it to work :wink:
Maybe you could give me a little hint, please. I created a TargetPoint BP, recreated the Event Graph inside and draged multiple instances in the map (with a little offset to the ground surface)
But nothing happens when I press the teleport buttons.

Thank you in advance!

2 Likes

Put a print string after the button event, is it actually getting triggered?

You are right, Thanks. The button event doesn´t work. Did I miss something?

2 Likes

Yes :wink:

I don’t know what, but you’ll probably need to go over a tuut vid about using enhanced input

Ok, I see, Thank you! I will do that :wink:

1 Like

Unfortunately, I can´t get it to work.
I now tried the same enhanced input actions in the FirstPersonCharacter BP and they are working. But not in the Teleport BP. So the input mapping has to be set up correctly.
Shouldn’t the input actions be accessible in every BP?

1 Like

Things to check are

  1. Do you have the init nodes on begin play ( they are also in the player code )

  2. Have you enabled input on the blueprint? ( it’s in the main options ), or

image

1 Like

Great, Thank you. Input problem solved. The Enable Input Node was missing :wink:
But the teleportation doesn´t work yet. I get 8 error messages on every button press.



1 Like

You haven’t put the locations in the array. I think you have to do that in the level :wink:

1 Like

Ah, I see. I put an ADD to array before the set array element and it works perfectly now. Thanks again! :wink:

1 Like

And here a screenshot of final graph:

1 Like

:sunglasses:

2 Likes