rott/kf_sources/Engine/Classes/MessagingSpectator.uc
2026-07-14 20:27:09 +07:00

27 lines
839 B
Ucode

//=============================================================================
// MessagingSpectator - spectator base class for game helper spectators which receive messages
//=============================================================================
class MessagingSpectator extends PlayerController
abstract;
event PostBeginPlay()
{
Super.PostBeginPlay();
bIsPlayer = False;
}
auto state NotPlaying
{
}
function InitPlayerReplicationInfo()
{
Super.InitPlayerReplicationInfo();
PlayerReplicationInfo.PlayerName="WebAdmin"; // Temporary for debug purpose. Easier to identify if the webadmin is the source of problems.
PlayerReplicationInfo.bIsSpectator = true;
PlayerReplicationInfo.bOnlySpectator = true;
PlayerReplicationInfo.bOutOfLives = true;
PlayerReplicationInfo.bWaitingPlayer = false;
}