• 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

Pre-req error

TobyFox2002

Well-known member
I've been trying to set up a racial pre-req and I've getting a strange error, some races come up as not defined when I use

validif (tagis[Race.Aasimar] <> 0)

Normal things will work fine, human, dwarf, halfelf, orc, halforc. But anything I try and do things that are a little outside the norm, Aasimar, etc and races that I have created it gives me a

Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'pre-requisite rule' script for Thing 'fQuadruped' on line 1
-> Tag 'Race.Aasimar' was not defined

I'm trying to get it with my own race, but I used Aasimar because it was something that can be tested without posting my code.

Am I doing something wrong, or is it an issue with hero labs not recognizing user created races fully.

PS., it also gives me a similar error when I try to use these races in Eval scripts.
 
In your portfolio, choose your race. Then go to Develop -> Floating Info Windows -> Show Hero Tags. If you do this with the Aasimar, you'll see there is no Race.Aasimar tag. The problem, in this case, is that the user-created race doesn't create that tag. It isn't done automatically. It's something that the creator needs to set up. That's why you are getting the error. I should probably go through all of the races and make sure they are adding tags like this. Some do, some don't. I would consider this a bug with the community set.

If you are creating your own race, you will need to create a new tag. You do this by going into "Counts as Race..." and select "New Tag". Then just give it the id you want. the ID is the only one that really matters, but you can put in a Name and/or Abbreviation if you want.
 
Sorry. I've added the Aasimar tag. Let me know if there are any others you specifically need from the community set.
 
Not your fault, I just used Aasimar as an example, though will eventually need it for "planetouched' regions for faerun.

Thank you for the help.
 
Back
Top