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
jasharen
Member
 
Join Date: Aug 2009
Posts: 30
Send a message via Skype™ to jasharen

Old February 24th, 2012, 08:47 PM
Hey guys,
How do I check if a character has a language as a pre req?

I need to see if lCelestial and lInfernal have been selected. I looked at the help, as well as did a search and don't an obvious answer (of which i'm sure one is out there).

Thanks!
jasharen is offline   #1 Reply With Quote
Eretas
Senior Member
 
Join Date: Sep 2010
Posts: 147

Old February 24th, 2012, 09:05 PM
It's in the "Personal" tab. Languages knows. The green ones are the starting languages base on intelligence and the black on the one bought with linguistics.
Eretas is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 25th, 2012, 06:50 AM
Go to "Develop->Floating Info Windows->Show Hero Tags". This shows you all the tags that are on the hero. Scroll down the list until you find "Has Language" and you will see the tag is "SpeakLang.lCommon" for common. Add the languages you wish to test for to see there tags.

Then you can simply do:
Code:
hero.tagis[SpeakLang.lCommon] <> 0
to test for the language.

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   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 25th, 2012, 09:09 AM
ShadowChemosh - Double-check whether this works for a user-added language. I think the SpeakLang tag is mis-named, because it's not a presence-tracking tag.
Mathias is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 25th, 2012, 09:48 AM
Ok so yea that won't work. So SpeakLang.? seems to only be added for languages that are inherit to the race. So a dwarf has both Common and Dwarven. Then Language.? tags appear to be the languages that a race is allowed to start with if they have a high INT.

To do what the OP asked for is a little different as you have to check to see if the languages exists or is LIVE on the hero.
Code:
childlives[lCelestial] <> 0
Will correctly check for the Celestial language on the hero. I built a test feat to make sure this time.

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


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