SA-MP Forums Archive
Can the npc's shoot? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can the npc's shoot? (/showthread.php?tid=99490)



Can the npc's shoot? - CJ101 - 27.09.2009

Is it possible to make the NPC's shoot at you when you shoot at them?


Re: Can the npc's shoot? - ev0lution - 27.09.2009

Quote:
Originally Posted by CJ101
Is it possible to make the NPC's shoot at you when you shoot at them?
If you record them shooting then they will shoot.
If they haven't been recorded shooting, you can't make them shoot.


Re: Can the npc's shoot? - Sayaron - 28.09.2009

U can make them shoot at a dirrection u have recorded when you say something or do a command, but the chance to make the bot hit you is low as its just gona do what u recorded it to do. It cant aim or shoot after somebody, just shoot where you recorded it to shoot


Re: Can the npc's shoot? - boelie - 28.09.2009

I made that an npc walks its path
if a player gets near, a small recording starts ( a recording of shooting )

but ofcourse the npc will move then at the exact location you recorder it
now should it be possible to let him stay on the location where the first recording paused and it continues the second
recording and so it stays there..maybe done with setpos; i tried but failed