Grumpy Old Man 3549 Posted July 25, 2014 Hey folks, trying to make unarmed units sprint, doesn't look like it's even possible with setspeedmode or forcespeed, any chance of replacing the regular jogging animation with the sprint animation? The only sprint animation I could find was under <unknown> and it looks like it's bugged. Already made a feedback ticket about this some time ago. Any suggestions? Cheers Share this post Link to post Share on other sites
Foxy 1 Posted July 25, 2014 If you use set up a trigger you can call via radio with this as your activation code: copyToClipboard str (animationState player) You can then sprint yourself, activate the trigger while sprinting and it will copy your sprinting animation to the clipboard. You can then use this animation to make them sprint. I did this in an A2 mission but I can't remember how good it came out tbh. Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted July 25, 2014 Oh boy that's a great idea! For now this is a pretty decent solution: _nul = [] spawn { while {alive test} do { test playmove "amovpercmevasnonwnondf"; waituntil {animationstate test != "amovpercmevasnonwnondf"}; }; }; Thanks! Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted July 26, 2014 Only downside seems to be that's impossible to influence the units direction when using this method. Using setdir leads to weird warping of the unit. Share this post Link to post Share on other sites
Foxy 1 Posted July 26, 2014 Yeah I seem to remember it never quite worked out as well as I had hoped when I tried this. Maybe you can influence the direction by using a different animation? Like the "sprint in a 45 degree angle one", if you know what I mean. Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted July 26, 2014 Yeah I seem to remember it never quite worked out as well as I had hoped when I tried this. Maybe you can influence the direction by using a different animation? Like the "sprint in a 45 degree angle one", if you know what I mean. Could do that I guess, but for now I only trigger the sprinting animation if the player is in front of the AI unit, can just hope for a fix from BI. Share this post Link to post Share on other sites
genesis92x 810 Posted August 1, 2014 Grumpy, I have a mod that fixes this if you'd like :| It's not the best solution but it gives AI the ability to sprint again while we wait for BIS to fix this... Share this post Link to post Share on other sites