Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
I finally got the opportunity to get back to this, and I am hitting a wall again. Currently Skill Specialties added via the form accessed from the Skill add a pick to the skill, and a tag on the Skill. The Eval statement on Specialty also forwards the tag down so that it reaches the Hero. Similarly, Specialties added via the Background, Command Package, and Sophont items add a tag to the Hero and a pick. Now the catch is, I'm really not certain how to get the two to mesh together.
When all of the Specialties were being pulled from the Skills and their gizmos, the code to display a list of them on the Skill Summary space went like this: Code:
var skillText as string foreach pick in hero from Skill foreach pick in eachpick.gizmo from Specialty ~ debug eachpick.field[spcTabName].text skillText = skillText & eachpick.field[spcTabName].text & "{br}" nexteach nexteach @text = skillText Code:
var skillText as string foreach pick in hero from Specialty debug "Specialty for summary: " & eachpick.field[spcTabName].text skillText = skillText & eachpick.field[spcTabName].text & "{br}" nexteach @text = skillText Worse comes to worse, I can go back to the way I was initially doing things where Specialties were picked out of a big table of all of the Specialties, not off of the Skills, which worked well enough, but that's not aesthetically pleasing to say the least. |
#15 |
|
|