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
{
	bIsUnique=false
	bIsPartiallyUnique=true
	CountDownTrailer="..."
	WarningString="You have been targeted by an orbital Ion Satellite!"
	LifeTime=1.0
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:36:26.000 - Creation time: Do 14.8.2014 09:58:41.370 - Created with UnCodeX