Hello UE4 Community!
I a have a project where the player can destroy puzzle elements, but this can lead to the puzzle became unsolvable. So the player needs to have the ability to reset to the nearest checkpoint and respawn all the puzzle pieces.
I came up with an idea where I want to find all the movable static meshes with the tag “puzzle” and get their coordinates and their static mesh shapes into an array. I want to this in the level blueprint when Event Begin Play. So when you reset yourself it calls a function or custom event (in the character blueprint) to destroy all static meshes referenced in the array and respawn them exactly where they were.
The problem is that I’m a Java programmer and I’m new to blueprints and I’m not really sure if this is possible and if it is then how to do it.
Oh and reloading a level isn’t a solution because I want the music to keep playing.
Thanks in advance!