• Nextbot NPC Not Looping Walk Animation
    0 replies, posted
So I've got this Nextbot NPC I've been working on. It follows the player and plays walking animations. But they don't loop. Here is my code. [lua] self:SetSequence("my run sequence here",1) self:SetPlaybackRate(1) [/lua] But before I used the code above, I was using the below [lua] self:StartActivity( ACT_MP_RUN_MELEE,2 ) self:SetPlaybackRate(2) [/lua] The reason I changed was because the bit of code about this text played the animations slowly. I messed with the Rate and the number beside the animation without any luck. So the question is, how do I loop the animation for the top code, or how do I change the speed properly of the bottom code. Either answer should do. EDIT: Fixed, change the sequence to [lua] self:StartActivity( ACT_MP_RUN_MELEE,2 ) self:SetPlaybackRate(1) [/lua]
Sorry, you need to Log In to post a reply to this thread.