TheBullDog
Active member
I am attempting to pull tool proficiencies via the "Item Selection" and Custom Expressions. I have gotten them to show, at the same time as skills... One thing, I cannot get it to exclude tools the character already knows how to use.
I just can't get the script to pull them and add them to the character. (this is a bit of a mess right now I know) I am trying to do an if/then/else to embed the Tool selection separate from the skill selection. Other than the embeded if statement that part is fine, it is the pull and push for the tools that I cannot figure out.
Any help would be appreciated.
Code:
(component.BaseSkill & (Reference.skArcana | Reference.skHistory | Reference.skInsight | Reference.skInvestig | Reference.skNature | Reference.skPercep) & !Helper.Proficient) | (component.Tool & )
I just can't get the script to pull them and add them to the character. (this is a bit of a mess right now I know) I am trying to do an if/then/else to embed the Tool selection separate from the skill selection. Other than the embeded if statement that part is fine, it is the pull and push for the tools that I cannot figure out.
Code:
if (field[usrChosen1].ischosen <> 0) then
if (field[usrChosen1].ischosen = "ProfSkill.?" then <===(if/then/else here)
perform field[usrChosen1].chosen.pulltags[ProfSkill.?]
perform forward[ProfSkill.?]
else
perform field[usrChosen1].chosen.pulltags[ProfTool.gToo?]
~ gtool = "component.BaseEquip & (" & hero.tagids[ProfTool.?,"|"] & ")"
~ field[usrChosen1].chosen.pulltags[ProfTool.?]"
endif
endif
~ if (field[usrChosen2].ischosen <> 0) then
~ perform field[usrChosen2].chosen.pulltags[ProfSkill.?]
~ endif
~ perform hero.assign[ProfTool.?]
Any help would be appreciated.