How do I create a Teleporter BP from one target location to another target location in a different level?

Here’s what I have so far…I’m trying to pick a target location in my variables but when I go to the drop-down menu to choose it only shows targets from my world. I want it to show targets from other levels as well. The target variable is instance editable.

Any help on this would be greatly appreciated!

1 Like

This is quite easy, once you get used to it, but for a ‘rookie’, it’s a bit of a headfull :slight_smile:

I’ll give you a short list, because I don’t want to have to implement it :joy:

  1. You need to understand about the game instance

It’s a magical object that hangs around while almost everything else ( like levels ) is getting destroyed and changed.

  1. You’ve realized you can’t pass the actor as a parameter. I wouldn’t advise trying to do that, even with the GI. Actor tags might be a better way
  1. When you enter the teleporter in Level A, instead of trying to pass an actor reference, pass the tag of the teleporter you want to go to, to the GI.

  2. Open Level B

  3. In the level BP of B, take a look at the GI, and see that the player wanted to appear at portal X, put the player there.

Notes: At the moment, I’m assuming you’re using the game mode to create the player ( default ). It would probably be better to spawn the player yourself. Then you get to choose where to put the player. Using the level BP is a cludge. A better way, would be to write the portal code, so that it checks the game instance for it’s tag. If it find it’s own tag, the player can just be spawned at the portal.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.