I'm trying to code up a home-brew Faction. One vanity is challenging me:
I can make a drop-down to pick one of the five skills, and I can see how to manipulate the field:
What I'm not getting is that the code above looks like it's adding a tag. For Skill Specialization, it looks like each skill specialization has its own tag name. Linguistics is SpecSkill.skLinguistics and Spellcraft is SpecSkill.skSpellcr and so on. So what was 'Helper.ClassSkill' above needs to be 'SpecSkill' plus the end of the choice name.
How do I do a 'perform' operation assigning a tag whose name depends on usrChosen1?
Or would it be better to manually do the Skill Specialization work myself?
Your studies have paid off. You become specialized in one of the following skills: Knowledge (arcana), Knowledge (planes), Linguistics, Spellcraft, or Use Magic Device.
I can make a drop-down to pick one of the five skills, and I can see how to manipulate the field:
Code:
perform field[usrChosen1].chosen.assign[Helper.ClassSkill]
What I'm not getting is that the code above looks like it's adding a tag. For Skill Specialization, it looks like each skill specialization has its own tag name. Linguistics is SpecSkill.skLinguistics and Spellcraft is SpecSkill.skSpellcr and so on. So what was 'Helper.ClassSkill' above needs to be 'SpecSkill' plus the end of the choice name.
How do I do a 'perform' operation assigning a tag whose name depends on usrChosen1?
Or would it be better to manually do the Skill Specialization work myself?