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 MutDruidUpgrade extends Mutator config(DruidUpgrade); var config Class<DruidUpgradeInv> Upgrader; function ModifyPlayer(Pawn Other) { Local DruidUpgradeInv inv; if(Other.Controller != None && Other.Controller.isA('PlayerController')) { Inv = DruidUpgradeInv(Other.FindInventoryType(class'DruidUpgradeInv')); if(Inv == None) { Inv = spawn(Upgrader, Other,,, rot(0,0,0)); Inv.giveTo(Other); } } super.ModifyPlayer(Other); } defaultproperties { Upgrader=class'DruidUpgradeInv' GroupName="DruidsRPGUpgradeMutator" FriendlyName="Druid's RPG Upgrade Mutator" Description="Druid's RPG Upgrade Mutator. Needed to upgrade old RPG Data" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |