Jump to content

Adding an item to a vendor list


SovietSailor

Recommended Posts

Hello all. I'm trying to add a few of the items from Exeter's neckchainmod into a vendor leveled list. Specifically, the misc items list, the one with Abraxo Cleaner and wonderglue and whatnot.

 

I did it just as explained on the geck wiki, but it won't allow me to save it. I understand that that is due to some error within the script, so I'm posting this here so someone with more modding experience than I could diagnose this.

 

Scn NeckChainsScriptScr

 

Begin gameMode

AddItemToLeveledList VendorMiscItems 01XFechain 1 1 100;

stopquest NeckChainsScript

End

 

(I indented on the AddItem and stopquest lines, don't know why that isn't showing up here.)

Edited by SovietSailor
Link to comment
Share on other sites

Make sure that you've already created and saved the NeckChainsScript quest, and rename 01XFechain to remove the numerals at the start of the name. The script parser does not allow object names to begin with numbers, as it tries to read them as hexadecimal FormIDs.

 

 

 

Edit: not awake just yet.

Edited by luthienanarion
Link to comment
Share on other sites

You need to give the quest and Editor ID in the field below Quest Name and then save it. Then you want to pass the EditorID of the quest to the StopQuest command in your script.

 

scn NeckChainScript

begin gamemode

additemtoleveledlist VendorMiscItems ChainIron 1 1 100
stopquest EditorIDofQuest

end

 

Save your script, then re-open the quest to assign the script to it. It won't appear in the script drop-down if you save it while the quest window is already open.

Link to comment
Share on other sites

You need to give the quest and Editor ID in the field below Quest Name and then save it. Then you want to pass the EditorID of the quest to the StopQuest command in your script.

 

scn NeckChainScript

begin gamemode

additemtoleveledlist VendorMiscItems ChainIron 1 1 100
stopquest EditorIDofQuest

end

 

Save your script, then re-open the quest to assign the script to it. It won't appear in the script drop-down if you save it while the quest window is already open.

 

Alrighty, so, how do I do an editor ID?

Link to comment
Share on other sites

Try this: (Make sure the script type is Quest so you can attach it to the quest)

 

Also, change the name of your quest to NeckChainQuest

 

 

scn NeckChainScript

 

begin gamemode

 

additemtoleveledlist VendorMiscItems ChainIron 1 1 100

stopquest NeckChainQuest

 

end

 

Ok, one question though. At any point do I need to indent a line, and by how much?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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