Senior Member
Join Date: Oct 2011
Posts: 6,793
|
You mentioned choosing a church upthread, is that just picking the deity on the background tab, or are you adding something else, some other pick? For example, to a configurable?
This is relevant because you're probably going to need to add a helper pick to make the selection for the weapon, but what type of pick, and where it will be shown depends on the context of the pick being added. |
#11 |
Senior Member
Join Date: Jun 2014
Posts: 243
|
Yeah, I'm using the deity to add the languages.
I was going to have the weapon selection be from the martial weapon feat, but I could use something else. |
#12 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Ok... so if the only pick the user selects is this deity, and you authored the deity and thus can change it however you like, and the martial weapon proficiency already includes a selector, can you not just bootstrap the feat to the deity with a condition looking for at least 1 cleric level? Am I missing some further complexity?
|
#13 |
Senior Member
Join Date: Jun 2014
Posts: 243
|
That is in essence what I did. What I'm wondering is if there is a way to associate the selection in the feat with the diety's favored weapon?
|
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
In example if the deity gave scimitar you would set the tag to be Target.wScimitar. This will cause the feat to automatically select the scimitar weapon when added instead of giving a choice. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#15 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
ShadowChemosh, if I understand correctly, this isn't a general thing where he wants the bootstrapped feat to have a pre-selected choice. Instead, there is one specific deity who is so chaotic that each worshipper gets to select the gods favored weapon and get proficiency in that weapon.
ShadowWalker, associate how? You're already getting proficiency in the chosen weapon. What further aim are you trying to accomplish? |
#16 |
Senior Member
Join Date: Jun 2014
Posts: 243
|
There are some classes that have abilities that are tied to the favored weapon, such as the war priest. I would like for the character chosen weapon be the favored weapon for that character. If it's not possible I'll do something else with the diety.
|
#17 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Then add a Custom tag to the copy of Martial Weapon Proficiency feat bootstrapped to the deity to mark it.
In an eval script on the deity, use findchild to get to that specific copy, and pull the WepProf tag from the feats selection to the deity pick. Something like this (assuming the marker tag is "Custom.DeiFavWeapChoice"). First 400 Code:
~Set the focus to the feat we marked perform hero.findchild[BaseFeat,"Custom.DeiFavWeapChoice"].setfocus ~Stop if we have no focus, because somehow the feat we bootstrap isn't here doneif (state.isfocus = 0) ~Stop if the focus has not yet made a choice doneif (focus.field[usrChosen1].ischosen = 0) ~Pull the Weapon Proficiency tag from the focus to ourselves, the deity pick. This is what others look for when determining our favored weapon. perform focus.field[usrChosen1].chosen.pulltags[WepProf.?] |
#18 |
Senior Member
Join Date: Jun 2014
Posts: 243
|
Thank you very much. Worked well.
|
#19 |
|
|