MadModderJess Posted February 16, 2015 Share Posted February 16, 2015 (edited) I'm trying to alter the Transmute Mineral Ore spell so that when you have both iron and silver already in your inventory, it gives you the option to choose which one you want to transmute. I'm new to scripting and am having some issues. So far, this is what I have, but it won't compile: I'm getting these error messages from the compiler: C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\transmuteMineralScript.psc(20,35): required (...)+ loop did not match anything at input ','C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\transmuteMineralScript.psc(32,39): required (...)+ loop did not match anything at input ','C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\transmuteMineralScript.psc(32,68): required (...)+ loop did not match anything at input '='C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\transmuteMineralScript.psc(37,39): required (...)+ loop did not match anything at input ','C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\transmuteMineralScript.psc(37,68): required (...)+ loop did not match anything at input '=' From what I can find online, it has to do with the spaces, maybe? I am probably expressing incorrectly how to check the player's inventory for more than one mineral type at once. Can anyone assist me? EDIT: Okay, so I tinkered with it and got it to compile, but all it does is add a silver ore to my inventory. :/ I'm not sure what I've done wrong. Edited February 16, 2015 by MadModderJess Link to comment Share on other sites More sharing options...
Terra Nova Posted February 16, 2015 Share Posted February 16, 2015 You're gonna have to go through the code one statement at a time to find out which one is not doing what it's supposed to do. From my end, it looks like a logic error somewhere with the iron ore coding. Link to comment Share on other sites More sharing options...
MadModderJess Posted February 16, 2015 Author Share Posted February 16, 2015 I got it figured out! Part of the issue was that I didn't know what to do with Int ChosenOption, and I hadn't added the Message Property correctly in CK. Thanks for answering! Link to comment Share on other sites More sharing options...
Recommended Posts