Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.Mutator | +--Botpack.NoPowerups
bool
CheckReplacement(Actor Other, out byte)
00001 //============================================================================= 00002 // NoPowerups. 00003 // removes all powerups 00004 //============================================================================= 00005 00006 class NoPowerups expands Mutator; 00007 00008 function bool CheckReplacement(Actor Other, out byte bSuperRelevant) 00009 { 00010 if ( Other.IsA('HealthPack') || Other.IsA('UT_Shieldbelt') 00011 || Other.IsA('UT_Invisibility') || Other.IsA('UDamage') 00012 || Other.IsA('HealthVial') ) 00013 return false; 00014 00015 return true; 00016 } 00017 00018 defaultproperties 00019 { 00020 }