## XIII
Class XIIISoloMutator

source: C:\XIII\XIII\Classes\XIIISoloMutator.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.Mutator
                |
                +--XIII.XIIISoloMutator

Direct Known Subclasses:PRock01aMutator, Sanc02bMutator

class XIIISoloMutator
extends Engine.Mutator

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

Function Summary
`bool` | `CheckRelevance(Actor Other)`
    //_____________________________________________________________________________

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIISoloMutator extends Mutator;
    00005
    00006	//_____________________________________________________________________________
    00007	function bool CheckRelevance(Actor Other)
    00008	{
    00009	    // ELR Optimiza, dynamic load mesh for weapons at the init
    00010	    if ( (XIIIWeaponPickup(Other) != none) && (class<XIIIWeapon>(XIIIWeaponPickup(Other).InventoryType).default.MeshName != "") )
    00011	    {
    00012	      DynamicLoadObject(class<XIIIWeapon>(XIIIWeaponPickup(Other).InventoryType).default.MeshName, class'mesh');
    00013	    }
    00014	    if ( (XIIIDecoPickup(Other) != none) && (class<XIIIWeapon>(XIIIDecoPickup(Other).InventoryType).default.MeshName != "") )
    00015	    {
    00016	      DynamicLoadObject(class<XIIIWeapon>(XIIIDecoPickup(Other).InventoryType).default.MeshName, class'mesh');
    00017	    }
    00018	    if ( (XIIIPickup(Other) != none) && (class<XIIIItems>(XIIIPickup(Other).InventoryType)!=none) && (class<XIIIItems>(XIIIPickup(Other).InventoryType).default.MeshName!="") )
    00019	    {
    00020	      DynamicLoadObject(class<XIIIItems>(XIIIPickup(Other).InventoryType).default.MeshName, class'mesh');
    00021	    }
    00022	    return Super.CheckRelevance(other);
    00023	}
    00024
    00025
    00026
    00027	defaultproperties
    00028	{
    00029	     DefaultWeaponName="XIII.Fists"
    00030	}

End Source Code