class Werti_SeqAct_LerpFloat extends SequenceAction; Var() Float A; Var() Float B; Var() FLoat Alpha; var Float OutValue; event Activated() { if (InputLinks[0].bHasImpulse) { OutValue=Lerp(a,b,Alpha); } } defaultproperties { ObjName="Lerp Float" ObjCategory="Math" HandlerName="OnLerpFloat" bLatentExecution=False bAutoActivateOutputLinks=True InputLinks(0)=(LinkDesc="In") VariableLinks.Empty VariableLinks(0)=(ExpectedType=class'SeqVar_Float',LinkDesc="A",PropertyName=A,bWriteable=false) VariableLinks(1)=(ExpectedType=class'SeqVar_Float',LinkDesc="B",PropertyName=B,bWriteable=false) VariableLinks(2)=(ExpectedType=class'SeqVar_Float',LinkDesc="Alpha",PropertyName=Alpha,bWriteable=false) VariableLinks(3)=(ExpectedType=class'SeqVar_Float',LinkDesc="Out Value",PropertyName=OutValue,bWriteable=True) }