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

SkaarjPack.InvasionMutator


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
00030
00031
00032
class InvasionMutator extends DMMutator
    HideDropDown
    CacheExempt;


function bool CheckReplacement( Actor Other, out byte bSuperRelevant )
{
    // set bSuperRelevant to false if want the gameinfo's super.IsRelevant() function called
    // to check on relevancy of this actor.

    bSuperRelevant = 0;
    if ( Pawn(Other) != None )
    {
        Pawn(Other).bAutoActivate = true;
    }
    else if ( GameObjective(Other) != None )
    {
        Other.bHidden = true;
        GameObjective(Other).bDisabled = true;
        GameObjective(Other).DefenderTeamIndex = 255;
        GameObjective(Other).StartTeam = 255;
        Other.SetCollision(false,false,false);
    }
    else if ( GameObject(Other) != None )
        return false;
    return true;
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Tue 24/10/2006 17:11:02.000 - Creation time: Wed 7/2/2007 19:16:42.375 - Created with UnCodeX