Senior Member
Join Date: May 2015
Posts: 830
|
I am working on creating an alternate option for several class features, smite being the first on my list.
Is it possible to provide the user with a drop down of existing weapons, and then create a duplicate of whatever is chosen to then further modify the duplicate? I was hoping to create adjustments for different class/feature abilities for easy printing. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Not a duplicate, exactly.
I can think of two ways to go about it (if I understand what you're going for), and which to use probably depends on how wide your choice of weapons is. 1: If it's a fairly narrow list, you could create an array which listed each valid weapon choice in a different row, then bootstrap each of those weapons with a condition that the ability select its corresponding row. Each of the bootstraps should have a Custom tag marking it as the weapon added by your new ability, so that other scripts can find the correct weapon and make whatever modifications you need. 2: If it's a big list you'll probably have to rely on the user to add the weapon itself, and then select the weapon you want to benefit using a chooser on the ability. In this method, you don't need to Custom tag it, because you can just transition from the chooser to the chosen directly. The drawback is that if the user removes the weapon you picked, there isn't a way to preserve your choice, and you'll be prompted to choose again. |
#2 |
Senior Member
Join Date: May 2015
Posts: 830
|
My hope was to give a drop down of gear currently on the character.
So player adds adjustment, drop down of all weapons currently on the character populates, player selects their +1 cold iron battleaxe the script then should create a new version of the +1 cold iron battleaxe that I can then apply modifiers to including adjusting the title. The end result would be having two weapons on the character a +1 cold iron battleaxe and +1 cold iron battleaxe (Smiting) for example. |
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
That's not something that you could do, although I think just toggling the adjustment on and off would handle things decently for comparing the two.
|
#4 |
Senior Member
Join Date: May 2015
Posts: 830
|
crap, figured that idea was too easy. Guess Ill have to stick doing it the hard way (Manually having two of each weapon)
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Getting the correct timing for all the different values/tags is going to be fun. I see some tags/values needing to be set very early and other will need to be set very late. But then you could have a smiting version and a normal weapon. 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. |
|
#6 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
|
|
#7 |
Senior Member
Join Date: May 2015
Posts: 830
|
SC, I know I am going to regret asking this, but can you give a pointer on adding a helper weapon, and setting values on that specific copy of the helper weapon?
Ive not delved into that area much myself yet. |
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Take a look at the attachment. Its an example adjustment with the helper weapon and pulling the tags. The "fields" that hold values for bonuses (like weapon enhancements and weapon focus I leave to you to work out. 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. |
|
#9 |
Thread Tools | |
Display Modes | |
|
|