Hi,
I have followed the respawn instructions from the documentation and the Twin Stick Shooter tutorials. All works great and I have a series of checkpoint/respawn points however everytime I respawn the character loses his score and inventory.
I know this is because I am destroying the character and the HUD is bound to the third person character (which is destroyed). How do I store variables so that on respawning after death that I do not lise my score.
I am not familiar with the TwinStick Shooter tutorials however it sounds like you’re destroying where these variables are set.
You need to set these variables in a BP class that is persistent through death. I believe the Playerstate is persistent it also replicates freely with all clients. Which if you are using score could be quite nice, not so sure if you want inventory in there but it should work none the less. That would be the place to start.