Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Botpack.InstantRockets


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
//=============================================================================
// InstantRockets.
// rocket launchers always instant fire
//=============================================================================

class InstantRockets expands Mutator;

function bool AlwaysKeep(Actor Other)
{
    if ( Other.IsA('UT_Eightball') )
        UT_Eightball(Other).bAlwaysInstant = true;
    if ( NextMutator != None )
        return ( NextMutator.AlwaysKeep(Other) );
    return false;
}

function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
    if ( Other.IsA('UT_Eightball') )
        UT_Eightball(Other).bAlwaysInstant = true;
    return true; 
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Do 19.5.2005 19:42:14.000 - Creation time: Fr 7.6.2013 13:15:47.597 - Created with UnCodeX