View Single Post
Senior Member
Join Date: Feb 2013
Posts: 325

Old February 24th, 2021, 06:26 PM
Originally Posted by Sendric View Post
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.

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.

I have a Patreon and PayPal. Donations are appreciated but are not mandatory. They are only to show support while I program stuff.
Illyahr is offline   #5 Reply With Quote