NPC that attacks
#1

So what i want basically is to create an NPC which will chase the target and shoot him if he belongs to a different team.
I'm able to create an NPC and record it's movements, but i dont know how to make it attack others.
Any help would be appreciated.
Reply
#2

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

Should this help you.
Reply
#3

Quote:
Originally Posted by Twizted
Посмотреть сообщение
Thanks for the help

im totally new to scripting and i've been scripting for only like 3 days, so im just asking

So am i supposed to use it in the npcmodes directory or filterscripts?
and to connect the npc ,we use the same connectnpc("npcname","npcfile"); ?
Reply
#4

Quote:
Originally Posted by DavidBilla
Посмотреть сообщение
Thanks for the help

im totally new to scripting and i've been scripting for only like 3 days, so im just asking

So am i supposed to use it in the npcmodes directory or filterscripts?
and to connect the npc ,we use the same connectnpc("npcname","npcfile"); ?
You better look this tutorial: https://sampforum.blast.hk/showthread.php?tid=95034

But, if you're using the plugin for controlling NPC, then you don't have to record them. Try to find some zombie gamemode, and learn how they made those stuff.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)