How to force dialog between an NPC and a player?

Post » Fri May 27, 2011 11:05 am

Hey guys I'm making a small mod tonight for the fun of it, and I was curious how to make an npc talk with you after you get within X distance to them, like they turn around and ask who you are or something like that, or walk up to you and ask who you are? Also how would I make a bilboard or an object that once activated, would open a notice or add in a note to your inventory about a quest, that would be activated via the board?
User avatar
Chloe Lou
 
Posts: 3476
Joined: Sat Nov 04, 2006 2:08 am

Post » Fri May 27, 2011 5:11 am

I think StartConversation, would be the function you're looking for, and as for the distance check, maybe look at some of the scripts running on the guard robots at the entrance to the vegas strip in the game. If you need more detailed help let me know. As for the board, I'm not too sure, it'd probably have to be an activator, like a toilet or something, with a script using the AddItem function, to give you something, or ShowMessage (not sure about the actual name of this one?), to have it display a message box. :)
User avatar
RObert loVes MOmmy
 
Posts: 3432
Joined: Fri Dec 08, 2006 10:12 am

Post » Fri May 27, 2011 5:36 pm

OK thanks man, I'll have to check that out, so far in the past hour or so I've built the actual building and mod and everything, i just need to make the quest and add in one or two npc's :D
User avatar
YO MAma
 
Posts: 3321
Joined: Thu Dec 21, 2006 8:24 am

Post » Fri May 27, 2011 5:45 am

No problem, like I said, if you need anything else, I'll be happy to (try) and help out.
User avatar
Alister Scott
 
Posts: 3441
Joined: Sun Jul 29, 2007 2:56 am


Return to Fallout: New Vegas