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

XGame.IonCannonKillWarning


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
//warning message for players in an IonCannonKillVolume that they're about to be vaporized
class IonCannonKillWarning extends CriticalEventPlus;

var() localized string CountDownTrailer, WarningString;

static function string GetString(
    optional int Switch,
    optional PlayerReplicationInfo RelatedPRI_1,
    optional PlayerReplicationInfo RelatedPRI_2,
    optional Object OptionalObject
    )
{
    if (Switch > 0)
        return Switch$default.CountDownTrailer;
    else
        return default.WarningString;
}

static function GetPos(int Switch, out EDrawPivot OutDrawPivot, out EStackMode OutStackMode, out float OutPosX, out float OutPosY)
{
    Super.GetPos(Switch, OutDrawPivot, OutStackMode, OutPosX, OutPosY);

    if (Switch == 0)
        OutPosY = 0.75;
}

defaultproperties
{
     CountDownTrailer="..."
     WarningString="You have been targeted by an orbital Ion Satellite!"
     bIsUnique=Falsch
     bIsPartiallyUnique=Wahr
     Lifetime=1
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:44.000 - Creation time: Mo 16.4.2007 11:20:48.828 - Created with UnCodeX