Jump to content

Altering Transmute Spell (scripting help)


MadModderJess

Recommended Posts

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

  • Recently Browsing   0 members

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