• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Check if a language exists

jasharen

Active 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!
 
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.
 
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.
 
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.
 
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. :)
 
Back
Top