class Werti_SeqAct_NormalizeVector extends SequenceAction; var() Vector V; var Vector OutVector; event Activated() { if (InputLinks[0].bHasImpulse) { OutVector = Normal(V); } } defaultproperties { ObjName="Normalize Vector" ObjCategory="Math" HandlerName="OnNormalizeVector" bLatentExecution=False bAutoActivateOutputLinks=True InputLinks(0)=(LinkDesc="In") VariableLinks.Empty VariableLinks(0)=(ExpectedType=class'SeqVar_Vector',LinkDesc="Vector",PropertyName=V,bWriteable=false) VariableLinks(1)=(ExpectedType=class'SeqVar_Vector',LinkDesc="Normalized Vector",PropertyName=OutVector,bWriteable=True) }