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 |
class MutRPGHUD extends Mutator; function ModifyPlayer(Pawn Other) { Local ClientHudInv inv; Inv = ClientHudInv(Other.FindInventoryType(class'ClientHudInv')); if(Inv == None && Other.Controller != None && Other.Controller.isA('PlayerController') ) { Inv = Other.spawn(class'ClientHudInv', Other,,, rot(0,0,0)); //in the future, population of Inv will probably happen here... Inv.giveTo(Other); //or here, depending upon the replication situation. PlayerController(Other.Controller).ClientSetHUD(class'RPGHUDInvasion', class<Scoreboard>(DynamicLoadObject(Level.Game.ScoreBoardType, class'Class'))); } super.ModifyPlayer(Other); } defaultproperties { GroupName="RPGHUDInvasion" FriendlyName="Druid's Invasion RPG HUD" Description="Show Friendly Monsters In HUD and show monsters on a danger scale from Green to Red" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |