Originally posted by Desoxi
View Post
PlayerState is used to store variables that need to be send over the network so other clients can understand the state of another player. (A Pawn can replicate variables, but a pawn is destroyed and recreated on every death, the playerstate class allows us to persist certain variables like death count across the network)
SpectatorPawn, used during spectating. No mesh, no FX, just a fly camera usually. This can be assigned in the gamemode.
ChoosePlayerStart is called when a new Pawn is spawned during ServerRestartPlayer(..) You can do a search in the entire solution since UE releases now come with all source, it'll help you understand the framework.
- Tom
Comment