Botpack
Class TargetShadow

source: e:\games\UnrealTournament\Botpack\Classes\TargetShadow.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Decal
         |
         +--Botpack.TargetShadow
Direct Known Subclasses:None

class TargetShadow
extends Engine.Decal



Function Summary
 void AttachToSurface()
 
simulated
Tick(float DeltaTime)



Source Code


00001	class TargetShadow expands Decal;
00002	
00003	function AttachToSurface()
00004	{
00005	}
00006				
00007	simulated function Tick(float DeltaTime)
00008	{
00009		local Actor HitActor;
00010		local Vector HitNormal,HitLocation;
00011	
00012		if ( Owner == None )
00013			return;
00014		if ( Owner.Physics == PHYS_None )
00015		{
00016			Destroy();
00017			return;
00018		}
00019		DetachDecal();
00020	
00021		SetLocation(Owner.Location);
00022		AttachDecal(320);
00023	}
00024	
00025	defaultproperties
00026	{
00027	     MultiDecalLevel=0
00028	     Rotation=(Pitch=16384)
00029	     Texture=Texture'Botpack.energymark'
00030	     DrawScale=0.200000
00031	}

End Source Code