Saving the state of an instanced actor between levels

I have a series of instanced actors sourcing from the same enemy blueprint placed throughout a level. When I leave the level and re-enter, the enemies that have been killed are now back up and attacking again. Since they are all sourcing from the same blueprint, I cannot save the individual states of the actors. Is there a way to troubleshoot this issue? I am using Unreal Engine version 4.27.

1 Like

You have to give them an ID, just an integer ( blueprint variable ). When they get destroyed, they write it to the save game.

When you restart the same level, each character reads the save game, and can see if they were destroyed or not. If so, then they immediately destroy themselves again.

Thank you!

1 Like

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