Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Thanks Mathias.
On another note, the needtag doesn't seem to be working for me. Code:
<table_dynamic component="BaseSkill" showtemplate="baSklPick" choosetemplate="skThing" showsortset="SkillSort" choosesortset="SkillSort" scrollable="yes"> <candidate inheritlist="yes">!Hide.Skill</candidate> <needtag container="HasSkill" thing="SkillGen"/> <!-- AllSkills - all skills and specialties --> <compset id="AllSkills"> <compref component="Skill"/> <compref component="SkillSpec"/> </compset> <!-- Sort skills, general first, then specialties --> <sortset id="SkillSort" name="SkillSort"> <sortkey isfield="no" id="SkillGen"/> <sortkey isfield="no" id="SkillSpec"/> <sortkey isfield="no" id="_Name_"/> </sortset> <!-- Skill component Each skill derives from this component --> <component id="Skill" name="Skill" autocompset="no"> <!-- Each skill is associated with a specific attribute that must be identified --> <linkage linkage="attribute" optional="no"/> <!-- Each skill needs its own identity tag so existing skills can be identified during advancement --> <identity group="BaseSkill"/> <identity group="HasSkill"/> <identity group="SkillGen"/> <!-- Track the skill on the actor --> <eval index="1" phase="Setup" priority="100"><![CDATA[ perform forward[BaseSkill.?] perform forward[HasSkill.?] perform forward[SkillGen.?] perform assign[SkillGen.zLast] ]]></eval> <!-- Skill Speciality component Each skill Speciality derives from this component --> <component id="SkillSpec" name="Specialty" autocompset="no"> <!-- Each skill specialty is associated with a specific skill that must be identified --> <linkage linkage="skill" optional="no"/> <!-- Each skill needs its own identity tag so existing skills can be identified during advancement --> <identity group="SkillSpec"/> <identity group="SkillGen"/> <!-- Track the skill on the actor --> <eval index="1" phase="Setup" priority="100"><![CDATA[ perform forward[SkillSpec.?] ]]></eval> With the screenshot below, the hero has the SkillGen.zLast and HasSkill.zLast Thoughts? |
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I think you missed this one:
Quote:
|
|
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Ah - you did that in a script, not a tag element.
Scripts on an item are not run until AFTER an item has been added to the character, so the script that you have assigning HasSkill.zLast will not run until after it's been added to the character. Needtag needs to look for that tag BEFORE it's been added to the character. Last edited by Mathias; August 4th, 2012 at 07:52 AM. Reason: Changed where my emphases were |
#13 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Thanks Mathias, that was it.
I appreciate the help |
#14 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
With the way things are set up, when a skill or specialization are chosen, it disappears from the list. Is there a way to keep a specific skill on the list if it can be chosen multiple times, say due to choosing a different domain each time?
|
#15 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Those skills that can be chosen multiple times aren't set to useronce or unique, right? Only the skills that are supposed to be unique have that set?
|
#16 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Yep, I has it defined as forceunique="yes". Removed that, and I could set the needed skills to unique="no".
Thanks! |
#17 |
|
|