## XIIIMP
Class XIIIMPTeamMutator

source: C:\XIII\XIIIMP\Classes\XIIIMPTeamMutator.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.Mutator
                |
                +--XIIIMP.XIIIMPMutator
                   |
                   +--XIIIMP.XIIIMPTeamMutator

Direct Known Subclasses:None

class XIIIMPTeamMutator
extends XIIIMP.XIIIMPMutator

    //
    //-----------------------------------------------------------

Variables
`bool` | `AddStorage`

Function Summary
`bool` | `CheckReplacement(Actor Other, out byte)`

Source Code

    00001	//
    00002	//-----------------------------------------------------------
    00003	class XIIIMPTeamMutator extends XIIIMPMutator;
    00004
    00005	var bool AddStorage;
    00006
    00007	function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
    00008	{
    00009	    local XIIIMPTeamStorage BTS;
    00010
    00011	    if( ! AddStorage )
    00012	    {
    00013	        AddStorage = true;
    00014	        BTS = Spawn(class'XIIIMPTeamStorage',,, Other.Location);
    00015	        BTS.TeamId=0;
    00016	        BTS = Spawn(class'XIIIMPTeamStorage',,, Other.Location);
    00017	        BTS.TeamId=1;
    00018	    }
    00019
    00020	    return true;
    00021	}
    00022
    00023
    00024
    00025
    00026	defaultproperties
    00027	{
    00028	}

End Source Code