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 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 |
/** * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved. */ // // CTF Messages // // Switch 0: Capture Message // RelatedPRI_1 is the scorer. // OptionalObject is the flag. // // Switch 1: Return Message // RelatedPRI_1 is the scorer. // OptionalObject is the flag. // // Switch 2: Dropped Message // RelatedPRI_1 is the holder. // OptionalObject is the flag's team teaminfo. // // Switch 3: Was Returned Message // OptionalObject is the flag's team teaminfo. // // Switch 4: Has the flag. // RelatedPRI_1 is the holder. // OptionalObject is the flag's team teaminfo. // // Switch 5: Auto Send Home. // OptionalObject is the flag's team teaminfo. // // Switch 6: Pickup stray. // RelatedPRI_1 is the holder. // OptionalObject is the flag's team teaminfo. class UTCTFMessage extends UTCarriedObjectMessage; /** * Kill pending flag messages when a score happens */ static function bool ShouldBeRemoved(UTQueuedAnnouncement MyAnnouncement, class<UTLocalMessage> NewAnnouncementClass, int NewMessageIndex) { if ( NewAnnouncementClass == class'UTTeamScoreMessage' ) { return true; } return super.ShouldBeRemoved(MyAnnouncement, NewAnnouncementClass, NewMessageIndex); } defaultproperties { ReturnBlue="returned the blue flag!" ReturnRed="returned the red flag!" ReturnedBlue="The blue flag was returned!" ReturnedRed="The red flag was returned!" CaptureBlue="captured the blue flag!" CaptureRed="captured the red flag!" DroppedBlue="dropped the blue flag!" DroppedRed="dropped the red flag!" HasBlue="took the blue flag!" HasRed="took the red flag!" KilledBlue="killed the blue flag carrier!" KilledRed="killed the red flag carrier!" ReturnSounds(0)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_RedFlagReturned' ReturnSounds(1)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_BlueFlagReturned' DroppedSounds(0)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_RedFlagDropped' DroppedSounds(1)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_BlueFlagDropped' TakenSounds(0)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_RedFlagTaken' TakenSounds(1)=SoundNodeWave'A_Announcer_Status.Status.A_StatusAnnouncer_BlueFlagTaken' FontSize=2 Name="Default__UTCTFMessage" ObjectArchetype=UTCarriedObjectMessage'UTGame.Default__UTCarriedObjectMessage' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |