View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old October 5th, 2017, 06:17 PM
Hmm... and no, no luck with that. However, I am 90% of the way there. I am currently instead adding a tag to the BGTrait and using the following script to find the relevant Skill and modify it. But I am still figuring out how to actually bootstrap the pick:

Code:
<eval index="2" phase="Setup" priority="3001" name="Add BG Specializations">
  <![CDATA[
  var myId as string
  myId = tagids[Specialty.?," & "]
  debug "myID: " & myId
  
  foreach thing in Specialty where myId
    var indID as string
    indID = eachthing.idstring
    var skillIDs as string
    debug "indID: " & indID
    
    skillIDs = eachthing.tagids[Skill.?, " & "]
    debug "skillIDs: " & skillIDs
    foreach thing in Skill where skillIDs
      debug "Add " & indID & " to skill " & eachthing.idstring
      ~Add a pick for the Specialization to the Skill.
      nexteach
    nexteach
    ]]></eval>
Duggan is offline   #3 Reply With Quote