Hi,
I have set up a respawn script in my gamemode, which is the same as the one in the UE4 documentation, here it is:
In Gamemode:
In character blueprint:
Here is how I’m creating my second player, I have an enum linked to Player Index Cache which sets a controller id and links it to the cache, similar to the Digital Tutors tutorial:
In Gamemode:
When player 1 dies, they respawn, but when player 2 dies, they don’t. I’m using a really simple health set up too, here it is:
In character blueprint:
Also, the Integer called ‘Player Index Cache’ is located in my characters blueprint. How can I make it so that my player 2 will respawn?
Thanks!