Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
Yo,
I'm making the Other Regions for Forgotten Realms, and I've having trouble making the proper Exp Req My goal here is to make an Exp Req which would make this unavailable if the character has a standard race tag. I know how to make a exp req for having a tag, like "hero.tagis[Race.Elf] <> 0" but how can I make it say hero.tagis is NOT elf? |
#1 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
Sorry, that was nearly unintelligible.
I'm making inherited templates which will not be available to any standard race (dwarf, elf, halfling, half-elf, half-orc or human). How can I write an Exp Req that will look for those tags and disallow the template if one is present? |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Quote:
The expr-req you are setting up is saying if this tag is present, we're valid. The <> 0 part reads "Is non-zero". hero.tagis[] is searching for the tag in question and if that tag is not on the hero, it returns a value of 0. (like the off position in a switch in an electrical circuit). If you want the expr-req to be valid for cases where the tag is 0 (i.e. the hero doesn't have the tag on it), switch it to Code:
hero.tagis[whatever.Elf] = 0 |
|
#3 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
perfect, thanks
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Are you doing the core rulebook for FR or the 3.5 updated Regions?
|
#5 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
I'm making a compiled 3.5 update file for FR in d20. So really, it's info from Races of Faerun, FRCS and PGtF. I've retro fitted mounds of the PF stuff that you've done, but my goal is to have a file with all the races, languages, PGtF regions and regional feats by April 25 for the 1.9 community update.
|
#6 |
|
|