Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 |
class GameMessage extends LocalMessage; var(Message) localized string SwitchLevelMessage; var(Message) localized string LeftMessage; var(Message) localized string FailedTeamMessage; var(Message) localized string FailedPlaceMessage; var(Message) localized string FailedSpawnMessage; var(Message) localized string EnteredMessage; var(Message) localized string MaxedOutMessage; var(Message) localized string OvertimeMessage; var(Message) localized string GlobalNameChange; var(Message) localized string NewTeamMessage; var(Message) localized string NewTeamMessageTrailer; var(Message) localized string NoNameChange; var(Message) localized string VoteStarted; var(Message) localized string VotePassed; var(Message) localized string MustHaveStats; var(Message) localized string CantBeSpectator; var(Message) localized string CantBePlayer; var(Message) localized string BecameSpectator; var localized string NewPlayerMessage; var localized string KickWarning; var localized string NewSpecMessage, SpecEnteredMessage; // // Messages common to GameInfo derivatives. // static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ) { switch (Switch) { case 0: return Default.OverTimeMessage; break; case 1: if (RelatedPRI_1 == None) return Default.NewPlayerMessage; return RelatedPRI_1.playername$Default.EnteredMessage; break; case 2: if (RelatedPRI_1 == None) return ""; return RelatedPRI_1.OldName@Default.GlobalNameChange@RelatedPRI_1.PlayerName; break; case 3: if (RelatedPRI_1 == None) return ""; if (OptionalObject == None) return ""; return RelatedPRI_1.playername@Default.NewTeamMessage@TeamInfo(OptionalObject).GetHumanReadableName()$Default.NewTeamMessageTrailer; break; case 4: if (RelatedPRI_1 == None) return ""; return RelatedPRI_1.playername$Default.LeftMessage; break; case 5: return Default.SwitchLevelMessage; break; case 6: return Default.FailedTeamMessage; break; case 7: return Default.MaxedOutMessage; break; case 8: return Default.NoNameChange; break; case 9: return RelatedPRI_1.playername@Default.VoteStarted; break; case 10: return Default.VotePassed; break; case 11: return Default.MustHaveStats; break; case 12: return Default.CantBeSpectator; break; case 13: return Default.CantBePlayer; break; case 14: return RelatedPRI_1.PlayerName@Default.BecameSpectator; break; case 15: return Default.KickWarning; break; case 16: if (RelatedPRI_1 == None) return Default.NewSpecMessage; return RelatedPRI_1.playername$Default.SpecEnteredMessage; break; } return ""; } defaultproperties { SwitchLevelMessage="Switching Levels" LeftMessage=" left the game." FailedTeamMessage="Could not find team for player" FailedPlaceMessage="Could not find a starting spot" FailedSpawnMessage="Could not spawn player" EnteredMessage=" entered the game." MaxedOutMessage="Server is already at capacity." OvertimeMessage="Score tied at the end of regulation. Sudden Death Overtime!!!" GlobalNameChange="changed name to" NewTeamMessage="is now on" NoNameChange="Name is already in use." VoteStarted="started a vote." VotePassed="Vote passed." MustHaveStats="Must have stats enabled to join this server." CantBeSpectator="Sorry, you cannot become a spectator at this time." CantBePlayer="Sorry, you cannot become an active player at this time." BecameSpectator="became a spectator." NewPlayerMessage="A new player entered the game." KickWarning="You are about to be kicked for idling!" NewSpecMessage="A spectator entered the game/" SpecEnteredMessage=" joined as a spectator." bIsSpecial=Falsch } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |