SA-MP Forums Archive
Running animation on a NPC doesn't work. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Running animation on a NPC doesn't work. (/showthread.php?tid=176245)



Running animation on a NPC doesn't work (smooth). - rbN. - 12.09.2010

Well, I had an old script that I tried on 0.3a. It was working fine then. Now I tried it again today, and every time I apply the running animation, he seems to do the animation, but he's not walking forward at all (if you do that animation yourself, it seems that you go forward). In 0.3a he was doing that.

Every time you apply the running animation now, it seems to be 'stuck'.

Btw, it's an empty npcmode + there's no .rec.


AW: Running animation on a NPC doesn't work. - Meta - 12.09.2010

Hmm, i know a zombie Filterscript, where NPC's are following you ... they also are running by animation.
idk how this works ... even tried to do somethin' like this, but that bot disconnected after a few seconds ...


Re: Running animation on a NPC doesn't work. - rbN. - 12.09.2010

To above, they are doing the animation, but they're not walking forward.


Re: Running animation on a NPC doesn't work. - Trooper[Y] - 12.09.2010

That also appeared at 0.3a rc1

You need to make a timer, get the facing angle, calculate the position where heґd be at this time if he wasnt reset, then use setplayerpos and set him there.
Then apply animation again etc etc

Looks like shit
Better use the variabel bot plugin from the plugin section instead


Re: Running animation on a NPC doesn't work. - rbN. - 12.09.2010

Quote:
Originally Posted by Trooper[Y]
View Post
That also appeared at 0.3a rc1

You need to make a timer, get the facing angle, calculate the position where heґd be at this time if he wasnt reset, then use setplayerpos and set him there.
Then apply animation again etc etc

Looks like shit
Better use the variabel bot plugin from the plugin section instead
If you mean https://sampforum.blast.hk/showthread.php?tid=174671 , it's not working.


Re: Running animation on a NPC doesn't work. - Mauzen - 12.09.2010

Get one of the 300+ kb versions and net framework 4, should work then


Re: Running animation on a NPC doesn't work. - rbN. - 13.09.2010

Quote:
Originally Posted by Mauzen
View Post
Get one of the 300+ kb versions and net framework 4, should work then
Thanks for the tip, trying soon .

Also, I still think it's better that it could do the animation properly without the plugin.

/edit: Doesn't seem to work. They do the animation, but they don't move.