Quote:
Originally Posted by Sendric
Have you tried debugging info to see what it comes out as?
You can then open up your debugging window and see what's happening there.
|
it tries to assign the string as "SpInfo.thingid.spell" for some reason. I looked at Martial Study, which has a similar coding.
Code:
var disc as string
var trunc as number
disc = field[fChosen].chosen.tagids[User.?]
trunc = length(disc)-4
disc = right(disc, trunc)
disc = "SpecSource" & disc
perform hero.child[fMartStudE].assignstr[disc]
Unfortunately, I don't know what some of those functions, such as length and right, mean so I can't replicate it.