
class TwentySecondWarning expands CriticalEventPlus;

var(Message) string	WarnMessage[2];

static function int GetFontSize(int Switch)
{
   return 2;
}

static function string GetString(optional int Spree,optional PlayerReplicationInfo RelatedPRI_1,optional PlayerReplicationInfo RelatedPRI_2,optional Object OptionalObject)
{
   return Default.WarnMessage[Rand(2)];
}

static simulated function ClientReceive(PlayerPawn P,optional int Switch,optional PlayerReplicationInfo RelatedPRI_1,optional PlayerReplicationInfo RelatedPRI_2,optional Object OptionalObject)
{
   Super.ClientReceive(P, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject);
   P.PlaySound(Sound'radiationstorm',, 4.0);
   return;
}

defaultproperties
{
   WarnMessage(0)="RADIATION ZONE SPAWNED"
   WarnMessage(1)="RADIATION ZONE ACTIVE"
   DrawColor=(R=255,G=0,B=0,A=0),
}