Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.Mutator | +--Botpack.LowGrav
bool
CheckReplacement(Actor Other, out byte)
00001 //============================================================================= 00002 // LowGrav. 00003 // makes all zones low gravity 00004 //============================================================================= 00005 00006 class LowGrav expands Mutator; 00007 00008 function bool CheckReplacement(Actor Other, out byte bSuperRelevant) 00009 { 00010 if ( Other.IsA('UT_JumpBoots') ) 00011 return false; 00012 00013 if ( Other.IsA('ZoneInfo') ) 00014 { 00015 ZoneInfo(Other).ZoneGravity = vect(0,0,-200); 00016 } 00017 00018 bSuperRelevant = 0; 00019 return true; 00020 } 00021 00022 defaultproperties 00023 { 00024 }