Hello everyone!
This is my first thread on this forum and I hope it is in the right location. Using blueprints I made a portal in order to teleport to another map when colliding with it. I also made a loading screen for it.
This project started as a Third Person Template C++. I started it with C++ instead of blueprints in order to make the game First and Third person. (A FPS with zoomable Third Person, like Skyrim)
I made two blueprints, and a variable in MyCharacter. One Portal_BP blueprint and one HUD_Portal blueprint for the loading screen. I have three maps in this project: Example_Map, Test_Map and Office_Map.
The Portal_BP Object is located in the Example_Map. In the HUD_Portal the Portal is ordered to teleport the player to Test_Map, which it does perfectly fine. But when I add a Portal_BP Object to Office_Map, the Portal
doesn’t work! I tried making copies of the two blueprints, renaming them to Portal_BP2 and HUD_Portal2 and changing the ordered map to Example_Map, still no luck. I’m going to add a few pictures of the Blueprints
and the project to this post. I appreciate all help, thanks in advance.
Variables of MyCharacter:
Portal_BP Blueprint:
HUD_Portal Blueprint (2 Parts):
The portal works like this: When the Player collides with the portal, the portal states the variable “PortalLoader” located in MyCharacter as true.
When PortalLoader is equal to true, the portal teleports you to Test_Map while showing up the loading screen.
Below are some links of pictures of the project in the editor. I really hope someone can help me, thanks!
Here the Portal_BP Object in the Example_Map where it works perfectly:
The Test_Map the Portal in Example_Map teleports you to:
The Portal_BP Object in the Office_Map (Supposed to teleport you to Test_Map, but it doesn’t do anything):