Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 27th, 2018, 09:37 AM
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.
Aaron is offline   #11 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old September 29th, 2018, 03:55 AM
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.
ShadowWalker is offline   #12 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 1st, 2018, 08:53 AM
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?
Aaron is offline   #13 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old October 2nd, 2018, 12:40 PM
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?
ShadowWalker is offline   #14 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old October 2nd, 2018, 01:39 PM
Quote:
Originally Posted by ShadowWalker View Post
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?
On the bootstrap of fMartial you can set the tag Target.? to be the favored weapon.

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.
ShadowChemosh is offline   #15 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 2nd, 2018, 04:51 PM
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?
Aaron is offline   #16 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old October 5th, 2018, 06:44 PM
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.
ShadowWalker is offline   #17 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 9th, 2018, 09:46 AM
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.?]
This code is not tested, tweak as necessary.
Aaron is offline   #18 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old October 9th, 2018, 08:30 PM
Thank you very much. Worked well.
ShadowWalker is offline   #19 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:27 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.