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 |
class TimerMessage extends CriticalEventPlus; var() Sound CountDownSounds[10]; // OBSOLETE var name CountDown[10]; var() localized string CountDownTrailer; static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ) { return Switch$default.CountDownTrailer; } static function ClientReceive( PlayerController P, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ) { super.ClientReceive(P, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject); if ( (Switch > 0) && (Switch < 11) && (P.GameReplicationInfo != None) && (P.GameReplicationInfo.Winner == None) && ((P.GameReplicationInfo.RemainingTime > 10) || (P.GameReplicationInfo.RemainingTime == 0)) ) { P.QueueAnnouncement( default.CountDown[Switch-1], 1, AP_InstantOrQueueSwitch, 1 ); } } defaultproperties { CountDown(0)="one" CountDown(1)="two" CountDown(2)="three" CountDown(3)="four" CountDown(4)="five" CountDown(5)="six" CountDown(6)="seven" CountDown(7)="eight" CountDown(8)="nine" CountDown(9)="ten" CountDownTrailer="..." bIsConsoleMessage=Falsch Lifetime=1 DrawColor=(B=0,G=255,R=255) StackMode=SM_Down PosY=0.100000 FontSize=0 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |