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

KFMod.KFMainMessages


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
class KFMainMessages extends CriticalEventPlus
	abstract;

var(Message) localized string ShopBootMsg, HasWeaponMsg, NoCarryMoreMsg, ShopItBase,CantCarryItemMsg,CantSelectWeaponMsg;

static function string GetString(
	 optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
{
	switch (Switch)
	{
		case 0:
			return Default.ShopBootMsg;
		case 1:
			return Default.HasWeaponMsg;
		case 2:
			return Default.NoCarryMoreMsg;
		case 3:
			return Default.ShopItBase;
		case 4:
		    return Default.CantCarryItemMsg;
		case 5:
		    return "You cannot use the"@Weapon(OptionalObject).default.ItemName@"right now." ;
	}

	return "";
}

defaultproperties
{
     ShopBootMsg="You can't stay in this shop after closing"
     HasWeaponMsg="You already have this weapon"
     NoCarryMoreMsg="You can not carry this weapon"
     ShopItBase="Press '%Use%' to TRADE"
     CantCarryItemMsg="You cannot carry this item"
     CantSelectWeaponMsg="You cannot use that weapon right now"
     bIsConsoleMessage=False
     DrawColor=(B=10,G=10,R=255)
     StackMode=SM_Down
     PosY=0.800000
     FontSize=2
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:26.000 - Creation time: Fri 13-10-2023 03:19:03.655 - Created with UnCodeX