Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UT2004RPG.LevelUpHUDMessage


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
class LevelUpHUDMessage extends LocalMessage;

// Levelup Message - tell local player he has stat points to distibute
//
// Switch 0: Using default bindings, so add "(Press L)"
//
// Switch 1: Not using default bindings

var(Message) localized string LevelUpString, PressLString;
var(Message) color YellowColor;

static function color GetColor(
    optional int Switch,
    optional PlayerReplicationInfo RelatedPRI_1, 
    optional PlayerReplicationInfo RelatedPRI_2
    )
{
        return Default.YellowColor;
}

static function string GetString(
    optional int Switch,
    optional PlayerReplicationInfo RelatedPRI_1, 
    optional PlayerReplicationInfo RelatedPRI_2,
    optional Object OptionalObject
    )
{
    if (Switch == 0)
        return Default.LevelUpString@Default.PressLString;
    else
        return Default.LevelUpString;
}

defaultproperties
{
     LevelUpString="You have stat points to distribute!"
     PressLString="(Press L)"
     YellowColor=(G=255,R=255,A=255)
     bIsUnique=True
     bIsConsoleMessage=False
     bFadeMessage=True
     Lifetime=1
     DrawColor=(G=160,R=0)
     StackMode=SM_Down
     PosY=0.100000
     FontSize=1
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sat 15/7/2006 17:15:14.000 - Creation time: Wed 7/2/2007 19:16:43.171 - Created with UnCodeX