surg23 Posted October 19, 2012 Share Posted October 19, 2012 (edited) Hi there, I am trying to add items to a NPC vendor list/container, but how do i find which container/s belong to this NPC in the object window ? EDIT: I found it, but i had to search manually. Would still like to know if there's an easier way though. Edited October 19, 2012 by surg23 Link to comment Share on other sites More sharing options...
surg23 Posted October 19, 2012 Author Share Posted October 19, 2012 Okay, i'm in the process of making a script for the items, but do i need a new quest and script for each different item i want to add to the container ? - If not can someone share an example of how to string more items onto a single script please ? Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted October 19, 2012 Share Posted October 19, 2012 ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> Link to comment Share on other sites More sharing options...
surg23 Posted October 19, 2012 Author Share Posted October 19, 2012 ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> ContainerRef.additem <ItemID> <Count> Nice one Gribbles. Thank you kindly. Link to comment Share on other sites More sharing options...
surg23 Posted October 19, 2012 Author Share Posted October 19, 2012 (edited) Gah, i'm stuck. Whenever i try to save my script it says "Line18: Item 'yourQuest' not found for parameter quest" I saved my quest and it's in the quest list. The Bethsoft tutorial didn't say anything about adding an ID for it, so the ID field is blank. Is that what the error is about ? This is what the script looks like: Scn yourQuestAddItemsScr Begin gameMode VendorContainerTulipRef.additem 3EFdrgplateAdd001 3VendorContainerTulipRef.additem 3EFdrgplateAdd003 1VendorContainerTulipRef.additem 3EFdrgplateAdd003a 1VendorContainerTulipRef.additem 3EFdrgplateArmor001 1VendorContainerTulipRef.additem 3EFdrgplateArmor001glad 1VendorContainerTulipRef.additem 3EFdrgplateArmor001gladns 1VendorContainerTulipRef.additem 3EFdrgplateArmor001imp 1VendorContainerTulipRef.additem 3EFdrgplateArmor001impns 1VendorContainerTulipRef.additem 3EFdrgplateArmor001jian 1VendorContainerTulipRef.additem 3EFdrgplateArmor001jianns 1VendorContainerTulipRef.additem 3EFdrgplateArmor001light 1VendorContainerTulipRef.additem 3EFdrgplateArmor001lightns 1VendorContainerTulipRef.additem 3EFdrgplateArmor001ns 1VendorContainerTulipRef.additem 3EFdrgplateArmor002 1 stopquest yourQuestEnd Where line 18 is the "Stopquest yourQuest" It's not happy about this line, but i've followed the tutorial to the letter. :O Edited October 19, 2012 by surg23 Link to comment Share on other sites More sharing options...
surg23 Posted October 19, 2012 Author Share Posted October 19, 2012 (edited) So after my numerous googling attempts i've narrowed it down to the Items and/or resources for the items the script is calling for are not loaded in GECK. Well since i literally started modding today, i have no clue about how i would load 2 files simultaneously. I am simply opening my favorite armor mod ESP, setting it to Active and loading it, then making the included armors appear in a vendor list instead of just lying about. I understand that this ESP has a parent file, which is Anchorage DLC - So could someone please tell me how i can load what i need from Anchorage while having the mod ESP loaded ? EDIT: I just noticed i can import things under the "Edit" tab, would importing "Gamesettings" from "Anchorage.esp" help my cause here ? Edited October 19, 2012 by surg23 Link to comment Share on other sites More sharing options...
surg23 Posted October 19, 2012 Author Share Posted October 19, 2012 Well i guess it's not a resource problem. Apparently both parent files are automatically loaded. I've only found a handful of "can't save script" threads on the net and all seem inconclusive. I have even searched the GECK wiki for the error and no results. Link to comment Share on other sites More sharing options...
blove Posted October 19, 2012 Share Posted October 19, 2012 Are you loading an ESM and an ESP as masters for another ESP that you are working on? If so, GECK has issues saving an ESP as a master to another ESP. It will load it but when saving it strips it out. You can set the ESM flag for the ESP that is to be a master with FO3Edit to work around this. Link to comment Share on other sites More sharing options...
surg23 Posted October 20, 2012 Author Share Posted October 20, 2012 Got it sorted now. Just had to remove "stopquest" entry from script, works like a charm. Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted October 22, 2012 Share Posted October 22, 2012 If you don't have an EditorID for any item, you can't reference it from a script. Most things will let you create them without one, but since for about 90% of forms the first field that is selected when you create a new one is the EditorID field, it's kind of silly not to include one. Link to comment Share on other sites More sharing options...
Recommended Posts