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 |
class BigHeadRules extends GameRules; var MutBigHead BigHeadMutator; function ScoreKill(Controller Killer, Controller Killed) { if ( (Killer != None) && (Killer.Pawn != None) ) { if ( Vehicle(Killer.Pawn) != None ) { if ( Vehicle(Killer.Pawn).Driver != None ) Vehicle(Killer.Pawn).Driver.SetHeadScale(BigHeadMutator.GetHeadScaleFor(Killer.Pawn)); } else Killer.Pawn.SetHeadScale(BigHeadMutator.GetHeadScaleFor(Killer.Pawn)); } if ( NextGameRules != None ) NextGameRules.ScoreKill(Killer,Killed); } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |