So now that I have the ability to choose spells working properly, I am trying to set up the DC for the spell chosen. This isn't a huge deal imo, but it would be nice if I could get it to work.
I am attempting to access the sLevel field of the chosen spell and set a variable equal to it with this:
However, this always returns 0 regardless of the level of the spell chosen. There are no error messages. Is it possible to pull this info or am I just not scripting it correctly? Note that I am using a Class Special, hence why "usrChosen1" is being used here.
Also of note may be the debug output for SL shows this:
I don't recall ever see the Unnamed part in debug output before
I am attempting to access the sLevel field of the chosen spell and set a variable equal to it with this:
Code:
SL = field[usrChosen1].chosen.field[sLevel].value
However, this always returns 0 regardless of the level of the spell chosen. There are no error messages. Is it possible to pull this info or am I just not scripting it correctly? Note that I am using a Class Special, hence why "usrChosen1" is being used here.
Also of note may be the debug output for SL shows this:
Code:
[Unnamed 1.1] 0
I don't recall ever see the Unnamed part in debug output before