RazorX 10 Posted November 29, 2010 I have a problem with playMove I have this: _unit playMove "RepairingKneel" and the unit plays the given animation in a loop. How can I get the unit in the normal standing position again? I used: _unit playMove ""; _unit playMoveNow ""; _unit switchMove ""; None of them works. When using switchMove, the unit's anim is changed to the default but again the "RepairingKneel" animation starts. What am I doing wrong? Share this post Link to post Share on other sites
UNN 0 Posted November 29, 2010 Try this: _unit playMove "AmovPercMstpSnonWnonDnon"; That should do the job. Get your hands on the config files, in there you will find details of which anims connect to and from other anims. For example in your case: class RepairingKneel : CutSceneAnimationBase { ConnectTo[]={"[b]AmovPercMstpSnonWnonDnon[/b]",0.01}; InterpolateTo[]={}; file="\CA\Anims\CHARACTERS\data\Anim\sdr\cts\idling\opravykneel"; speed=0.008886; actions="CivilKneelActions_RepairingKneel"; }; Share this post Link to post Share on other sites
st_dux 26 Posted November 30, 2010 If you don't need the unit to do a smooth transition into the animation initially, you can use switchMove instead of playMove. Then you will be able to exit the loop using switchMove "". Share this post Link to post Share on other sites
RazorX 10 Posted November 30, 2010 Yep, I need a smooth transition :) thanks a lot, problem solved Share this post Link to post Share on other sites