SA-MP Forums Archive
Forcing an NPC to perform animations - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Forcing an NPC to perform animations (/showthread.php?tid=288509)



Forcing an NPC to perform animations - Audiophr3ak - 08.10.2011

Is there any way to force an NPC to perform an animation? I tried to record the animation into an NPC record file, also tried to apply it at OnPlayerSpawn but still can't solve it. Is that possible? For example i want to make a dealer-NPC which must stay somewhere doing some animation like "MuscleIdle_armed".


Re: Forcing an NPC to perform animations - Backwardsman97 - 08.10.2011

I didn't find a way to when I ran into this problem. I just recorded myself doing the animation and made the npc keep playing it.


Re: Forcing an NPC to perform animations - Audiophr3ak - 08.10.2011

Ok ill try to record some more animations and check it.