Hello. I’m having an issue with a multiplayer feature where I want the player to stop moving and have no input after a game is finished.
The player who kills an opponent stops moving as intended, but the player who has died can still move after respawning. Any way to prevent this?
Use the game mode to control spawning and possession.
The GM class is where the rules of the game are applied and managed. It’s the class that spawns characters and attaches a controller to the character (Possession).
So on Death events should run on the GM to determine if the player (Controller) should posses a pawn.
No Pawn == No movement.
SetIgnoreLookInput nodes of the player controller instead.
Don’t run Multicast RPC in controllers.
Use GameState instead.