Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
class MPCheckpointMessages extends Engine.LocalMessage; var() localized string selfPassed; var() localized string selfFailed; var() localized string selfRaceCompleted; var() localized string selfLapCompleted; var() localized string globalRaceCompleted; 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.selfFailed; case 1: return default.selfPassed; case 2: return default.selfRaceCompleted; case 3: return default.selfLapCompleted; case 4: return default.globalRaceCompleted; } return ""; } defaultproperties { selfPassed = "You passed a checkpoint." selfFailed = "This is not your current checkpoint." selfRaceCompleted = "You finished the race! Total time: %1" selfLapCompleted = "You finished lap %1 of %2." globalRaceCompleted = "%1 finished the race! Position: %1" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |