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
Jhalad
Member
 
Join Date: Jun 2010
Posts: 90

Old February 12th, 2011, 08:09 AM
What is the tag for "ex-member"? I want to make it a requirement for a prestige class. Thanks
Jhalad 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 12th, 2011, 08:57 AM
ExMember.? Where the ? is the cHelpClr class id.

I found this by taking one level of cleric. Then Develop->Floating Info Windows->Show Hero Tags. Then clicked on/off "Ex-Member?" option under cleric. Then just looked to see what tag got added.

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
Jhalad
Member
 
Join Date: Jun 2010
Posts: 90

Old February 12th, 2011, 09:36 AM
Well now THAT'S a tool I didn't know about! Most helpful! Thanks!
Jhalad is offline   #3 Reply With Quote
Jhalad
Member
 
Join Date: Jun 2010
Posts: 90

Old February 14th, 2011, 03:46 PM
Oh, wow! This is SO cool. Thanks Shadow! I think the frequency of my question postings are about to go down by a lot.

I think I found the tag within the file, but how do I get the program to look at it.

I tried:

#cHelpDrd[NoExSpells] <> 1

But the program says there's an "error parsing left-side expression in relational comparison.

I was thinking of use the "hero.tagis" but I would need it to reference the NoExSpells within the cHelpDrd file, and I don't know how to get the line to reference something with a file, only a tag.

Last edited by Jhalad; February 14th, 2011 at 05:08 PM. Reason: Help on getting tag to work
Jhalad is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 17th, 2011, 12:18 PM
Code:
 
hero.isidentity[ExMember] <> 0
or

Code:
 
var searchexpr as string
searchexpr = tagids[ExMember.?]
hero.tagcountstr[searchexpr] <> 0
Both of those rely on being in a script running on the class (rather than the class tab) - if you want to add a pre-req like "Must be an ex-Druid" or a feat whose script depends on being an ex-druid, you'll need to specifically reference the class you're looking for:

Code:
 
hero.tagis[ExMember.cHelpDrd]
(Note that the Helper.NoExSpells tag exists on Druid whether or not you're an Ex-member - it's the tag that says "If we're an Ex-member, we can't cast spells" - so it's not the one you want to be looking for in these tests).
Mathias is online now   #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:23 AM.


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