SA-MP Forums Archive
NPC Territory - 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: NPC Territory (/showthread.php?tid=172776)



NPC Territory - Marvin81 - 31.08.2010

Hi,

I was wondering, is it possible to get it scripted so, when you enter a spacific "turf" marked on the map, and pull out a gun, and fire the gun, anywhere in the turf that the NPC can turn at you and start shooting at you for shooting up his turf. (Lol?)

I was thinking security guards protecting buildings and stuff, where if fired near the building, the NPC will shoot to kill.


Re: NPC Territory - Marvin81 - 01.09.2010

I take it would be a very hard thing to accomplish then?


Re: NPC Territory - Grim_ - 01.09.2010

Yes, it's possible, and yes it would be..not really hard but more time consuming.


Re: NPC Territory - Marvin81 - 01.09.2010

Quote:
Originally Posted by Grim_
Посмотреть сообщение
Yes, it's possible, and yes it would be..not really hard but more time consuming.
To an average scripter, how time consuming are we talking about? Also, does it have to be scripted in for every single turf and can a simple copy/paste work?


Re: NPC Territory - playbox12 - 01.09.2010

Copy and paste would work, but you do need the right positions offcourse. About the time erhh its completely new so I would think you will be busy with it atleast a day. That includes, Scripting/Testing/Fixing