Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
JolarEQ
Member
 
Join Date: Sep 2012
Posts: 88

Old February 22nd, 2014, 06:52 PM
So I'm trying to make a feat that's pretty much an exact duplicate of Adopted, but with different flavor text. I copied the trait, changed the name and the flavor text, and saved it. When I try to use it, it doesn't allow me to choose any racial traits, it shows them all as unavailable. However, when I use Adopted on the same character, it works fine. Is there something I need to do to get it to work?

Again, I just did New (Copy) and chose Adopted, and changed nothing but the name and text.

If there is any more info needed, please let me know!
JolarEQ is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 22nd, 2014, 07:04 PM
Adopted is one of those "strange/unique" Things that LW decided to special code behind the scenes. So the only way to get your new "trait" to work is to trick HL into thinking that it has the adopted trait.

Add this script to your new trait running at First/1000
Code:
~ Add to traits allowed
hero.child[resTrait].field[resMax].value += 1

~ To get the ability to allow any race trait we have to trick HL
~ into thinking we have the CORE Adopted trait. By assigning these
~ three tags to the hero we do that.
perform hero.assign[HasTrait.trAdopted]
perform hero.assign[Ability.trAdopted]
perform hero.assign[HasAbility.trAdopted]

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   #2 Reply With Quote
JolarEQ
Member
 
Join Date: Sep 2012
Posts: 88

Old February 22nd, 2014, 07:09 PM
Thanks Shadow, that did it!
JolarEQ is offline   #3 Reply With Quote
Reply


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 07:12 AM.


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