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

34 lines
700 B
Ucode

class xVictimMessage extends LocalMessage;
var(Message) localized string YouWereKilledBy, KilledByTrailer;
static function string GetString(
optional int Switch,
optional PlayerReplicationInfo RelatedPRI_1,
optional PlayerReplicationInfo RelatedPRI_2,
optional Object OptionalObject
)
{
if (RelatedPRI_1 == None)
return "";
if (RelatedPRI_1.PlayerName != "")
return Default.YouWereKilledBy@RelatedPRI_1.PlayerName$Default.KilledByTrailer;
}
defaultproperties
{
bFadeMessage=True
bIsUnique=True
Lifetime=6
DrawColor=(R=255,G=0,B=0,A=255)
FontSize=0
YouWereKilledBy="You were killed by"
KilledByTrailer="!"
StackMode=SM_Down
PosY=0.10
}