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 |
class KFBroadcastHandler extends BroadcastHandler; /* Broadcast a localized message to all players. Most messages deal with 0 to 2 related PRIs. The LocalMessage class defines how the PRI's and optional actor are used. */ event AllowTeamBroadcastLocalized(Actor Sender, class<LocalMessage> Message, int Switch1, int Switch2, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ) { local Controller C; local PlayerController P; For ( C=Level.ControllerList; C!=None; C=C.NextController ) { P = PlayerController(C); if ( P != None ) { if ( P.GetTeamNum() == 0 ) BroadcastLocalized(Sender, P, Message, Switch1, RelatedPRI_1, RelatedPRI_2, OptionalObject); else if ( P.GetTeamNum() == 1 ) BroadcastLocalized(Sender, P, Message, Switch2, RelatedPRI_1, RelatedPRI_2, OptionalObject); } } } defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |