UMS1_6
Class MovieInterpolater

source: e:\games\UnrealTournament\UMS1_6\Classes\MovieInterpolater.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Triggers
         |
         +--UMS1_6.MovieInterpolater
Direct Known Subclasses:None

class MovieInterpolater
extends Engine.Triggers

//============================================================================= // MovieInterpolater. //=============================================================================
Variables
 float DesiredAlpha
 float DesiredRate


Function Summary
 void Trigger(Actor Other, Pawn EventInstigator)



Source Code


00001	//=============================================================================
00002	// MovieInterpolater.
00003	//=============================================================================
00004	class MovieInterpolater expands Triggers;
00005	
00006	var() float DesiredRate;
00007	var() float DesiredAlpha;
00008	
00009	function Trigger(actor Other, pawn EventInstigator)
00010	{
00011		local InterpolationPoint i;
00012		
00013		if(EventInstigator!=None)
00014		{
00015			foreach AllActors( class 'InterpolationPoint', i, Event )
00016			{
00017				if(i.Position == 0)
00018				{
00019					EventInstigator.GotoState('');
00020					EventInstigator.SetCollision(True,false,false);
00021					EventInstigator.bCollideWorld = False;
00022					EventInstigator.Target = i;
00023					EventInstigator.SetPhysics(PHYS_Interpolating);
00024					EventInstigator.PhysRate = DesiredRate;
00025					EventInstigator.PhysAlpha = DesiredAlpha;
00026					EventInstigator.bInterpolating = true;
00027					EventInstigator.AmbientSound = AmbientSound;
00028				}
00029			}
00030		}
00031	}
00032	
00033	defaultproperties
00034	{
00035	     DesiredRate=1.000000
00036	}

End Source Code