Help with bugged market vendors?

Post » Sat Oct 18, 2014 6:57 pm

Hi, I'm having some bit of a huge problem with a mod I'm making. The mod involves adding some new NPCs into the city, including 2 new market vendors, whom I've given AI packages to tend to the stalls.
Testing it in-game (on a new game) showed no problems with the custom vendors standing at their stalls. However, fast forward a day later and every other day after that, I noticed none of the NPCs were ever returning to their stalls. I don't know what could have gone wrong in this, but it seems likely to do with the AI packages on the NPCs. I noticed my other custom NPCs (who had AI packages to roam the city) weren't going out of their houses either. In other words their AI packages played only once and never again.
Also one other the minor question i have: how do I make certain furniture/idles exclusive to certain NPCs? For instance, the new merchant NPC is supposed to go sit on this chair next to his stall. Problem is other NPCs are able to use the chair as well, leaving my merchant just standing nearby helplessly. So how do I solve this? I've tried setting the ownership status but that just made it such that no one could sit on it, even the NPC himself refuses to.
User avatar
Antony Holdsworth
 
Posts: 3387
Joined: Tue May 29, 2007 4:50 am

Post » Sat Oct 18, 2014 2:35 pm

To your second problem. You could add a little trigger at your chair which checks if the NPC who want's to sit is your desired NPC, and if that is NOT the case, then you can execute the command YourChair.BlockActivation() otherwise write YourChair.BlockActivation(false). Edit: Or you could add a script to your chair and put your code into a "OnActivate" Event. Should be working. Its hard to help you with your first problem if we don't have more informations, like pictures of the packages or .esp files.

User avatar
ONLY ME!!!!
 
Posts: 3479
Joined: Tue Aug 28, 2007 12:16 pm


Return to V - Skyrim