## XIII
Class BloodSplash

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

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Projector
             |
             +--XIII.BloodSplash

Direct Known Subclasses:None

class BloodSplash
extends Engine.Projector

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

Variables
`float` | `Lifetime`

Function Summary
`void` | `PostBeginPlay()`
    //____________________________________________________________________
`void` | `Reset()`
    //____________________________________________________________________
    // reset actor to initial state - used when restarting level without reloading.

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class BloodSplash extends Projector;
    00005
    00006	var float Lifetime;
    00007
    00008	//____________________________________________________________________
    00009	function PostBeginPlay()
    00010	{
    00011	    Local rotator R;
    00012
    00013	    if ( Level.bLonePlayer && Level.Game.bAlternateMode )
    00014	      ProjTexture=Material'XIIICine.ProjectionBlood_2';
    00015	    R = rotation;
    00016	    R.Roll = randrange(0, 32767);
    00017	    SetRotation(R);
    00018	//    Log("####"@self@"PostBeginPlay w/ ProjTexture="$ProjTexture);
    00019	    AttachProjector();
    00020	    AbandonProjector(Lifetime);
    00021	    Destroy();
    00022	}
    00023
    00024	//____________________________________________________________________
    00025	// reset actor to initial state - used when restarting level without reloading.
    00026	function Reset()
    00027	{
    00028	    Destroy();
    00029	}
    00030
    00031
    00032	defaultproperties
    00033	{
    00034	     Lifetime=6.000000
    00035	     ProjTexture=FinalBlend'XIIICine.effets.projectionblood'
    00036	     MaxTraceDistance=256
    00037	     bProjectTerrain=False
    00038	     bProjectStaticMesh=False
    00039	     bProjectActor=False
    00040	     bClipBSP=True
    00041	     AttachPriority=3
    00042	     bMovable=False
    00043	     bBlockZeroExtentTraces=False
    00044	     bBlockNonZeroExtentTraces=False
    00045	     DrawScale=1.150000
    00046	}

End Source Code