• Snpc? is that what im looking for/(adding Custom sounds to an npc)
    3 replies, posted
yeah so i just want to take a regular Citizen npc base and add custom death sounds and also when you wait too long to do something they say something so basically just having a remodel and resounded citizen without replacing the regular citizen npc it is that possible?
*Bump*
*bupidy Bump Bump*
I don't know if this counts as an SNPC per say. But you could make an ent where, in the code, it spawns an npc and changes some variables arround to give it a different model and add stuff to it's 'think' function. Have a look at this for changing things and giving the guy weapons and stuff: [url]http://developer.valvesoftware.com/wiki/Npc_citizen[/url] As for saying stuff every so often, I believe the correct course of action would be to use the npc's 'Think' function, which basically happens every time the npc ticks over, and checking for specific things like, in your case, if the player hasn't moved for a while in the npc's vicinity.
Sorry, you need to Log In to post a reply to this thread.