Senior Member
Join Date: Sep 2011
Location: Wisconsin
Posts: 321
|
Can I get some help to design an Expr-Reqs Script where Draconic is needed before you get the feat?
Some days I don't know why I bother to chew through the restraints. Last edited by Angela2013; February 25th, 2022 at 03:49 PM. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Do you mean a prerequisite, where knowing the draconic language is needed to take the feat, like the dragon disciple prestige class?
|
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Actually, the "pick-req" on Dragon Disciple is a deprecated way of checking languages, and should be avoided, because it can't distinguish conditional bootstraps of languages, or languages that are disabled in a script.
hero.tagis[HasLanguage.lDraconic] <> 0 is the way to write that as an expr-req |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Here is how to figure that out for yourself - in the Develop menu, make sure Enable Data File Debugging is turned on, and then choose "Floating Info Windows...Show Hero Tags" near the bottom of the Develop menu.
Then, type in "Draconic" (without the quotes) in the search box on that tag list. Then add the draconic language to your character, and compare the list of tags before and after - that's how to figure out that HasLanguage.lDraconic on the hero is a quick reference that the language has been added. |
#4 |
Senior Member
Join Date: Sep 2011
Location: Wisconsin
Posts: 321
|
Mathias that is the best advice I have ever had to figure out Expr-reqs. It worked perfectly. Thank you.
Though the advice to use HasLanguage.lDraconic is actually SpeakLang.lDraconic. Some days I don't know why I bother to chew through the restraints. Last edited by Angela2013; February 26th, 2022 at 08:29 AM. |
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Sorry about that, I forgot to look at the PF1 HLC code - the PF1 HLO code has had some Id changes.
|
#6 |
|
|