SA-MP Forums Archive
How to make NPC - 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: How to make NPC (/showthread.php?tid=338098)



How to make NPC - [D]ry[D]esert - 28.04.2012

hello Guys I want Ask how to make NPC Get players pos and move to them and attack them and all these stuff
And Npc Taking Damge


Re: How to make NPC - warcodes_ - 29.04.2012

https://sampforum.blast.hk/showthread.php?tid=95034


Re: How to make NPC - [D]ry[D]esert - 29.04.2012

you did't answer my questions How to let them Get the player pos and move to him and die


Re: How to make NPC - iggy1 - 29.04.2012

It's unlikely you will get anyone posting that here, it's one of the most difficult things you can do with an NPC.

You might want to look at released scripts, there is one called "controllable NPC" that is probably the closest thing you will get to what you want.

I would also love it if someone could post a way to do this because i tried and failed a couple of months ago. What gave me the idea is a game called "RoboCode" a java game. I was trying to add the functions you use in that game to control the bots - to NPCs in sa-mp. (failed miserably)


Re: How to make NPC - [D]ry[D]esert - 29.04.2012

Yea but I just want to get How they make dat :\


Re: How to make NPC - [D]ry[D]esert - 29.04.2012

At Least how to make the NPC Walk to Player ??