Kydoimos 916 Posted February 11, 2016 Hi all, I was wondering if anyone might be able to give me a quick pointer; basically, I'm looking to define a simple action. All it is, is I have a simple animation state that I have created, but I wanted to add a death animation that occurs when the unit is killed. Now, I understand that this has to be defined under 'actions' rather than 'states', but could anyone show me how it's done? I know I need to use the 'die="animation_name", but I can't quite get the syntax for the class Actions. Here's what I've got so far: Many thanks, chaps! Edit: Just found a helpful post here: https://forums.bistudio.com/topic/167580-animation-explanation-of-the-magic-behind/page-2. Should resolve the issue, will try later :) class CfgMovesBasic; class CfgMovesMaleSdr: CfgMovesBasic { skeletonName="OFP2_ManSkeleton"; gestures="CfgGesturesMale"; class States { class CutSceneAnimationBase; class Animation_Pilot: CutSceneAnimationBase { file="\Helicopter_Wreck\Animations\UAV_Pilot"; head="default"; actions="sitActions_UAV_Pilot"; speed=0.0072880001; ConnectTo[]={"UAV_Pilot_KIA", 1.0}; InterpolateTo[]={"UAV_Pilot_KIA", 1.0}; }; class Animation_Pilot_KIA : Animation_Pilot { file="\Helicopter_Wreck\Animations\UAV_Pilot_KIA"; head="headNo"; looped=1; speed=0.3187999; ConnectTo[]={}; InterpolateTo[]={}; terminal=1; interpolationRestart=1; }; }; }; Share this post Link to post Share on other sites