Senior Member
Join Date: May 2013
Posts: 1,458
|
First of all, scratch my previous question about the labeltext script. I'm doing that whole thing a different way, which I think will still work out the way I want it, but I'm having another odd issue now.
I have the following portal: Code:
<portal id="skill" style="outNormal"> <output_label> <labeltext><![CDATA[ var attrname as string var skillname as string var linkname as string var debugstr as string attrname = field[name].text foreach pick in hero from Skill where "component.Skill & !Helper.Maximum & !Hide.Skill" skillname = eachpick.field[name].text linkname = eachpick.linkage[attribute].field[name].text if (compare(attrname,linkname) = 0) then debugstr = "attrname: " & attrname & ", skillname: " & sklname & ", linkname: " & linkname debug debugstr done endif nexteach ]]></labeltext> </output_label> </portal> Code:
********** Start Evaluation Cycle ********** attrname: Agility, sklname: Movement, linkname: Agility attrname: Agility, sklname: Movement, linkname: Agility attrname: Agility, sklname: Movement, linkname: Agility attrname: Strength, sklname: Prowess, linkname: Strength attrname: Stamina, sklname: Close Quarters Combat, linkname: Stamina attrname: Focus, sklname: Research, linkname: Focus attrname: Personality, sklname: Communication, linkname: Personality attrname: Willpower, sklname: Interview, linkname: Willpower attrname: Dexterity, sklname: Fieldcraft, linkname: Dexterity attrname: Perception, sklname: Investigation, linkname: Perception attrname: Reflexes, sklname: Ranged Weapons, linkname: Reflexes |
#1 |
|
|