How to Move Picked Up Item Between Levels ?

SuppleWaif7
Fri, 09 Jun 2023 11:31:19 +0000
Blueprint

Hello everyone I have a question about the level transition. For example, I have Two Levels, in the first level,I created a Box collusion, when the character enters this collusion, it is teleported to the second level with the “Open level” function. Then, in the blueprint of my character, GetSword? and HasKey ? I created the booleans. When the character takes the sword, GetSword becomes true and attaches to the character’s hand. HasKey again when retrieving the key? turns into true. There is also a branch on the door that I want to open in Level 2, and I created a bluprint of “If HasKey? If True, Open the Door”. Normally, if the door and the key are in the same level, the door opens, but if I get the key in the first level, when I teleport to the second level, I cannot open the door, because the game acts as if I never took the key in the second level. Likewise, the sword I take in the first level disappears at the second level and it is like it was never attached to my hand. How can I solve this? , I’m new to UE5, I would appreciate it if you could explain it in detail. Thank you

5 posts - 3 participants