Jump to content

How to find containers owned by a NPC ?


surg23

Recommended Posts

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 by surg23
Link to comment
Share on other sites

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

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

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

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 3

VendorContainerTulipRef.additem 3EFdrgplateAdd003 1

VendorContainerTulipRef.additem 3EFdrgplateAdd003a 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001glad 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001gladns 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001imp 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001impns 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001jian 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001jianns 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001light 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001lightns 1

VendorContainerTulipRef.additem 3EFdrgplateArmor001ns 1

VendorContainerTulipRef.additem 3EFdrgplateArmor002 1

stopquest yourQuest

End

 

 

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 by surg23
Link to comment
Share on other sites

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 by surg23
Link to comment
Share on other sites

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...