Core.Object | +--Engine.Actor | +--Engine.Triggers | +--UMS1_6.MovieInterpolater
float
DesiredAlpha
DesiredRate
void
Trigger(Actor Other, Pawn EventInstigator)
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 }