Confused about NPC equipment

Post » Fri Jul 01, 2011 10:05 pm

Hi, I have a question on equipment. I'm not sure how NPC's handle the changing of equipment or how I can trigger it from within a script? Several NPC follower mods (like Vilja, Neeshka, and so on) allow for casual and armored gear (difference between using 'clothes' and 'armor') but I'm not sure how you can influence this in the scripting engine itself? How do you swap gear programmatically?

Thanks,
User avatar
Jake Easom
 
Posts: 3424
Joined: Sun Jul 29, 2007 4:33 am

Post » Sat Jul 02, 2011 1:35 am

Hi, I have a question on equipment. I'm not sure how NPC's handle the changing of equipment or how I can trigger it from within a script? Several NPC follower mods (like Vilja, Neeshka, and so on) allow for casual and armored gear (difference between using 'clothes' and 'armor') but I'm not sure how you can influence this in the scripting engine itself? How do you swap gear programmatically?

Thanks,



Ok, with some debugging I found out that my NPC does get her equipment back after sleeping so it should put the clothes back on but that isn't happening all the time. Sometimes it works and sometimes it doesn't. How can I force the npc to recheck its equipment and dress properly?
User avatar
Rachel Tyson
 
Posts: 3434
Joined: Sat Oct 07, 2006 4:42 pm


Return to IV - Oblivion