How to know if NPC is a vendor in dialogue

Post » Thu Apr 01, 2010 8:17 pm

Hi!

I have another question. Is there a way to find out, while in dialogue to find out if a NPC is a vendor?
User avatar
Elizabeth Davis
 
Posts: 3406
Joined: Sat Aug 18, 2007 10:30 am

Post » Thu Apr 01, 2010 10:59 am

Hi!

I have another question. Is there a way to find out, while in dialogue to find out if a NPC is a vendor?


What defines an NPC as a vendor is their associated quest and container, unfortunately there is no "vendor" flag or .getIsVendor function.
User avatar
Chloe Lou
 
Posts: 3476
Joined: Sat Nov 04, 2006 2:08 am

Post » Thu Apr 01, 2010 1:01 pm

Hi!

I have another question. Is there a way to find out, while in dialogue to find out if a NPC is a vendor?

At what point do you need this information? For example, when you are in the screen for actually buying stuff, you can run a script:

MENUMODE 1053    ;Barter menu...Do StuffEND

User avatar
Alessandra Botham
 
Posts: 3440
Joined: Mon Nov 13, 2006 6:27 pm


Return to Fallout: New Vegas