SovietSailor Posted September 17, 2012 Share Posted September 17, 2012 (edited) 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 NeckChainsScriptEnd (I indented on the AddItem and stopquest lines, don't know why that isn't showing up here.) Edited September 17, 2012 by SovietSailor Link to comment Share on other sites More sharing options...
luthienanarion Posted September 17, 2012 Share Posted September 17, 2012 (edited) 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 September 17, 2012 by luthienanarion Link to comment Share on other sites More sharing options...
SovietSailor Posted September 18, 2012 Author Share Posted September 18, 2012 Tried that, still nothing. Here's a picture, perhaps this'll help. Link to comment Share on other sites More sharing options...
luthienanarion Posted September 18, 2012 Share Posted September 18, 2012 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 More sharing options...
SovietSailor Posted September 19, 2012 Author Share Posted September 19, 2012 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 More sharing options...
SovietSailor Posted September 22, 2012 Author Share Posted September 22, 2012 Disregard above post. What a silly question :tongue: . Tried that, but I'm still getting this . Link to comment Share on other sites More sharing options...
viennacalling Posted September 22, 2012 Share Posted September 22, 2012 (edited) The GECK doesn't like you calling the script NeckchainScript because you are already calling the quest that. Either change the name of the script or the quest. Also, you will want to change the Script Type to from Object to Quest. Edited September 22, 2012 by viennacalling Link to comment Share on other sites More sharing options...
SovietSailor Posted September 23, 2012 Author Share Posted September 23, 2012 Tried what you said, still nothing. Link to comment Share on other sites More sharing options...
Deleted2547005User Posted September 23, 2012 Share Posted September 23, 2012 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 Link to comment Share on other sites More sharing options...
SovietSailor Posted September 23, 2012 Author Share Posted September 23, 2012 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 More sharing options...
Recommended Posts