• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Giving Subrace a choice of 1 melee weapon and one range proficiency

jbearwillis

Well-known member
I am wanting to give a subrace 1 choice between these Melee weapons
1) Short Swords
2) Rapiers
And
Also 1 choice between these Ranges weapons
1) Crossbows, Heavy
2)Long Bow
How would I go about doing this, I have found how to give a choice from all weapons, but not from a select few.... Where do I start? Any help is most appreciated.:D
 
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.?]
 
I get the drop down boxes to show up but no weapons show up in them, so I have nothing to pick. For the life of me, I can't figure out why they are not showing up...what am I missing here.
 
Back
Top