gopgop 1 Posted February 15, 2013 I have an animation I want to play on my character... currently im using unit playMove "XXX" and it doesnt work.. it plays the animation once and stops.. tried using switchMove doesnt work either... tried doing it in a while loop, too complicated and because you have to have sleep the animation goes insane.. How would you toggle this animation? Share this post Link to post Share on other sites
neokika 62 Posted February 15, 2013 By toggle you mean loop? If so, try the following: //Disable Ai ability to change animation by itself _unit disableAi "ANIM"; //Play the animation, he should now loop the same animation over and over again _unit playMove "someAnim"; Share this post Link to post Share on other sites
A-SUICIDAL 11 Posted February 15, 2013 during a cutscene: player enableSimulation false; player action ["GunLightOn", player]; player playMoveNow "aidlpercmstpslowwrfldnon_player_0s"; sleep 10; player switchMove ""; player enableSimulation true; Share this post Link to post Share on other sites