| Home Page | Recent Changes | Preferences

UTServerAdminSpectator (UT)

Actor >> Pawn (UT) >> PlayerPawn >> Spectator >> MessagingSpectator (UT) >> UTServerAdminSpectator

A spectator class used by UTServerAdmin to send messages from the remote console to players in the game.

Note: An UTServerAdminSpectator is always present in network games, and hence also shows up when traveling the PawnList. Never forget to check for Pawn (UT).bIsPlayer when doing that.

Properties

ListItem MessageList
byte ReceivedMsgNum
config byte ReceivedMsgMax
config bool bClientMessages
config bool bTeamMessages
config bool bVoiceMessages
config bool bLocalizedMessages

PlayerMessage struct

PlayerReplicationInfo PRI
string Text
name Type
PlayerMessage Next

Note: This kind of recursive struct doesn't seem to work in UnrealScript. Obviously it can be declared, but it can't be used for variables.

Methods

function AddMessage (PlayerReplicationInfo PRI, String S, name Type)
function String FormatMessage (PlayerReplicationInfo PRI, String Text, name Type)
function ClientMessage (coerce string S, optional name Type, optional bool bBeep)
function TeamMessage (PlayerReplicationInfo PRI, coerce string S, name Type, optional bool bBeep)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In