Note: I may have mis-pelled something so double-check the tags on the weapons.
You might want to look at the Weapon Master feats to get some ideas.
The usrCandid1 (or search expression) field for your first choice would look something like:
Component.BaseWep & (thingid.wShortswor | thingid.wRapier)
The usrCandid2 would be like:
Component.BaseWep & (thingid.wCrossbowH | thingid.wLongbow)
Then your script to push the weapon proficiency is running at pre-level/1000:
doneif (tagis[Helper.Disable] = 1)
~ If nothing chosen then get out now!
doneif (field[usrChosen1].ischosen = 0)
doneif (field[usrChosen2].ischosen = 0)
~ Pull all the selected weapon proficiency tags to ourself
perform field[usrChosen1].chosen.pulltags[WepProf.?]
perform field[usrChosen2].chosen.pulltags[WepProf.?]
~ Now push both tags to the hero
perform hero.pushtags[WepProf.?]
|