XIDCine
Class MovableLight

source: C:\XIII\XIDCine\Classes\MovableLight.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Light
         |
         +--XIDCine.MovableLight
Direct Known Subclasses:None

class MovableLight
extends Engine.Light

//----------------------------------------------------------- // //-----------------------------------------------------------
Variables
 vector OldLocation


Source Code


00001	//-----------------------------------------------------------
00002	//
00003	//-----------------------------------------------------------
00004	class MovableLight extends Light;
00005	
00006	Var vector OldLocation;
00007	
00008	//_____________________________________________________________________________
00009	event Tick(float dT)
00010	{
00011	    if ( Location != OldLocation )
00012	    {
00013	      OldLocation = Location;
00014	    }
00015	}
00016	
00017	
00018	
00019	defaultproperties
00020	{
00021	     bStatic=False
00022	     bNoDelete=False
00023	     bMovable=True
00024	}

End Source Code