eth_ch3 Posted December 22, 2007 Share Posted December 22, 2007 anyone experienced in scripting please help! I have no knowledge of scripting and I'm beginning to learn how to make simple mods for personal use. How do I get an NPC to wear a custom item (in amulet slot) by using a script? I dragged the item to the NPC's inventory and it didn't work in the game (also waited 24 hrs). How do I write a script for him to wear it (without dragging the item to his inventory, if possible), and where do I put the script, on the NPC or the item, or set it as a Quest? Since I really have no idea how to script, please aid me in writing the actual script rather than providing hints and tips. Thanks a lot! Link to comment Share on other sites More sharing options...
eth_ch3 Posted December 23, 2007 Author Share Posted December 23, 2007 Please help. Link to comment Share on other sites More sharing options...
Vagrant0 Posted December 23, 2007 Share Posted December 23, 2007 NPCs will automatically wear things that can be equipped to the normal slots. So long as it has an equip slot, and isn't tail or something else wierd, scripting isn't needed. Have you checked to see if the NPC even has the item? If you're just adding the item to the NPC by dropping it in their inventory, the game won't load the item if the NPC was already created and loaded that game. You can usually fix this by doing a resurrect on the NPC, but keep in mind that resurrecting some NPCs may break any scripts or quests related to them. Link to comment Share on other sites More sharing options...
Vagrant0 Posted December 23, 2007 Share Posted December 23, 2007 Thanks. The NPC is one of the vendors in the IC Market District, so he's already created. I picketpocketed him to check and the item wasn't on him, or maybe he equipped it and it doesn't show. But I'm using the unhiding amulet esp, so that shouldn't be the case. Could I use scripting to make this work without doing something artificial in the game like resurrecting? Thanks.Sure, if you want to go through the trouble of setting up a quest script that adds the item to the NPC, and then equips that item (or one of the other ways to give him the item and make him evaluate equipment). Since it's just a vendor, it's probably easier to just resurrect him, chances are there won't be any unwanted sideeffects. You could always just start a new game with the mod active. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.