Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.MPRabbitFlagMessages

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

    class MPRabbitFlagMessages extends Engine.LocalMessage;
    var localized string	RabbitFlagPickedUp;
    var localized string	RabbitFlagDropped;
    var localized string	RabbitKilled;

    static function string GetString(
    	optional int Switch,
    	optional Core.Object Related1,
    	optional Core.Object Related2,
    	optional Object OptionalObject,
    	optional String OptionalString
    	)
    {
    	switch (Switch)
    	{
    	case 0: return default.RabbitFlagPickedUp;
    	case 1: return default.RabbitFlagDropped;
    	case 2: return replaceStr(default.RabbitKilled, TribesReplicationInfo(Related1).PlayerName);
    	}
    }

    defaultproperties
    {
    	RabbitFlagPickedUp	= "A Rabbit flag was picked up."
    	RabbitFlagDropped	= "A Rabbit flag was dropped."
    	RabbitKilled		= "%1 killed a Rabbit!"
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:53:16.000 - Creation time: st 23.5.2018 00:10:45.966 - Created with UnCodeX