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
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;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:31:54.000 - Creation time: Do 14.8.2014 09:58:41.207 - Created with UnCodeX