• 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

Size Pre-reqs

Angela2013

Well-known member
I need to make a size Pre-req for a feat. To gain the feat you need to be Large or larger. I have checked all of the scripts that I have but cannot find anything that works.

If someone could point me in the right direction or has a script that I can use, it would be greatly appreciated.
 
Like the languages from your last request, the size of a character is stored in tags on the hero, so the same instructions on how to look it up yourself apply. Since huge, gargantuan and colossal all count for this prereq, you'll need several test characters (like an ogre, a giant, a titan, etc.), and once you have the tags, you can assemble all the legitimate tags together using tagexpr:

hero.tagexpr[Group1.Tag1 | Group2.Tag2 | Goup3.Tag3 | Group4.Tag4] <> 0

That way, if the character has any of those tags, it's legal.
 
Last edited:
I have tried this:

hero.tagexpr[Group1.size.Large | Group2.size.Huge | Goup3.size.Gargantuan | Group4.size.Colossal] <> 0

and this

hero.tagexpr[size.Large | size.Huge | size.Gargantuan | size.Colossal] <> 0

neither of which worked.

This is the error I got:

Script 1
Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'pre-requisite rule' script for Thing 'fMYLarCharge' on line 1
-> Invalid tag template specified: 'Group1.size.Large'

Script 2
Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'pre-requisite rule' script for Thing 'fMYLarCharge' on line 1
-> Tag 'size.Large' not defined
 
Last edited:
Capitalization matters - it's Size.Large, not size.Large

Tags are always going to be two strings paired by a period - a tag group, followed by the individual tag id. So in this case, Size is the tag group, and Large is the individual tag.
 
Back
Top