Whenever the player dies, I set it to teleport them back to the spawnpoint. The teleport command is run on the server so even if I’m not playing as a client/server it should teleport them. This was the case until out of nowhere, rather than teleporting back to spawn after death, they just stay where they were before as an invincible player and they can’t be hurt. I don’t know what I did to cause this, but I would like to figure it out. I’ve checked the blueprint many times to see if I could find an error, and the code checks out. How do i fix this?
First up you don’t need to multicast the teleport if using CMC. Game mode should be executing the Teleport as well as death states.
On Auth proxy death (servers sim of player) you execute your ragdoll/death anim.
Set Timer/delay for fade out.
Call GM to unpossess controller pawn.
Teleport corpse
Unhide → Possess
TP on Server → Teleport.
1 Like