Member
|
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! |
#1 |
Senior Member
Join Date: Sep 2010
Posts: 147
|
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.
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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 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. |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
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.
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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 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. |
#5 |
|
|