tambovskya 1 Posted March 11, 2013 How do I make a unit go into a animation? Share this post Link to post Share on other sites
cuel 25 Posted March 11, 2013 http://community.bistudio.com/wiki/switchMove http://community.bistudio.com/wiki/playMove http://community.bistudio.com/wiki/playAction http://community.bistudio.com/wiki/playActionNow Share this post Link to post Share on other sites
tambovskya 1 Posted March 11, 2013 Alright. I did try most of those, I didn't try playActionNow and well. Ill try. Thank you. ---------- Post added at 21:58 ---------- Previous post was at 21:13 ---------- They are not working. soldierOne playMove "InBaseMoves_table1"; Share this post Link to post Share on other sites
ayser 1 Posted March 11, 2013 "For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command." ~ BIWIKI Share this post Link to post Share on other sites
tambovskya 1 Posted March 11, 2013 "For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command." ~ BIWIKI So, if you dont mind helping me out on this. What exact code would I write, and where? Share this post Link to post Share on other sites
ayser 1 Posted March 11, 2013 Well, if you want to make it simple and make the player do the animation once, then put this in his init this playMove "InBaseMoves_table1"; If you want him to repeat it, make a .sqf and call it in his init with this while {true} do { if (animationState this != "InBaseMoves_table1") then { this switchMove "InBaseMoves_table1"; }; } It will work, but I tried using a switchmove on your animation, and it didn't activate, so it might be something with the animation, if not, then i'm not sure :confused: Share this post Link to post Share on other sites
tambovskya 1 Posted March 11, 2013 Well, if you want to make it simple and make the player do the animation once, then put this in his init this playMove "InBaseMoves_table1"; If you want him to repeat it, make a .sqf and call it in his init with this while {true} do { if (animationState this != "InBaseMoves_table1") then { this switchMove "InBaseMoves_table1"; }; } It will work, but I tried using a switchmove on your animation, and it didn't activate, so it might be something with the animation, if not, then i'm not sure :confused: I guess it's the animation. I've tried everything possible. Share this post Link to post Share on other sites
Dr_Cox1911 10 Posted March 23, 2013 Hm, I have the same problem. I tried many Anims but no one seems to work. I mostly tried it with "switchmove" with a little sleep before the actual anim but the damn soldier just stands there -.- Anyone got the "switchmove" command working in A3? Seems like it´s doing nothing. Share this post Link to post Share on other sites