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
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old May 24th, 2012, 10:31 PM
I have made a new Trait category and added several traits that use that new trait category. Now the question I have is there a script or some other way to grey out the traits so they can not be picked once one is chosen.
jbearwillis is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old May 25th, 2012, 05:07 AM
Try setting the trait to "Add Once" in the Uniqueness dropdown in the editor. It's located to the right of where you enter the thing id.
Sendric is offline   #2 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old May 25th, 2012, 09:59 AM
Ok that just greys out the trait that I picked - what I want to do is grey out all of them when one is picked, but I don't want to affect the other trait categories. I don't want to use the trait categories like ( faith,magic,regional etc.) I still want the players to be able to use those for a pick. so I made a new Trait category tag for the traits I made. So is there a script to target just that trait category and grey them out when i chose one of them.
jbearwillis is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 25th, 2012, 11:42 AM
On your trait click on the blue button labeled "Expr-reqs". In the new window press "Click to add another expression requirement".

I have a new category for my "Razor Coast campaign" and so in the message section I would enter "Can only have one Razor Coast Campaign Trait.".

In the "Expression" section I would enter:
Code:
hero.tagcount[trCategory.CampRazorC] <= @ispick
The "trCategory.CampRazorC" section needs to be the Unique ID of what you named your new trait category. If you don't remember you can click on the Trait Categories button and then click on the "(?)" icon and it will tell you.

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   #4 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old May 25th, 2012, 01:10 PM
Thank You very much. That worked like a charm.
jbearwillis is offline   #5 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 08:07 PM.


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