//============================================================================= // KFAnim_BlendList //============================================================================= // Added two optional fields to AnimNodeBlendList // 1) BlendInTime per child // 2) BlockSetActiveChildWhenRelevant per child //============================================================================= // Killing Floor 2 // Copyright (C) 2015 Tripwire Interactive LLC //============================================================================= // class KFAnim_BlendList extends AnimNodeBlendList native(Anim); cpptext { // AnimTree editor interface virtual void HandleSliderMove(INT SliderIndex, INT ValueIndex, FLOAT NewSliderValue); } // Custom blend in time for each child var() Array ChildBlendInTime; /** * Blend to DesiredChild index, only if node is not relevant in tree. * This is used to blend until a transition animation is played. */ var() Array BlockSetActiveChildWhenRelevant; native function SetActiveChild(INT ChildIndex, FLOAT BlendTime);