cash 15 Posted March 5, 2016 Hi everyone , can someone help me to understand a commands that playing animation for a given person . I have placed a person in the editor , in the init field of given person i am wrote : this playMove "Acts_AidlPercMstpSnonWnonDnon_warmup_3_loop"; but nothing happened. this switchMove "Acts_AidlPercMstpSnonWnonDnon_warmup_3_loop";run the animation but transition is too fast, it looks like snapshot. Another animation : this switchMove "AidlPercMstpSnonWnonDnon_G01"; The Idle animation is not working . this playMove "AidlPercMstpSnonWnonDnon_G01"; the same result false. But if i put both of code in the init then it work : this switchMove "AidlPercMstpSnonWnonDnon_G01"; this playMove "AidlPercMstpSnonWnonDnon_G01"; So my brain is burnt totally when i try to understand what can be wrong .Also i have tried use such command as: "playAction" and "switchAction" . And now i have nervous panic ! But this is not a finish , when i try do loop for its animation with "while" command , exactly here starts the nuclear explosion in my head :blink: ! Please help me somebody. Share this post Link to post Share on other sites
rebel12340 46 Posted March 9, 2016 Both "playMove" and "switchMove" need to be called after the mission starts, so placing them into a unit's init usually won't work. If you place them into a script that gets called after the mission starts or in a trigger then it will work. More information can be found here: https://community.bistudio.com/wiki/playMove Also, on some animations, if you use switchMove then the unit will switch to the animation and then immediately switch back to the default stance. To stop this from happening you can use: this disableAI "anim" Share this post Link to post Share on other sites