View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old August 11th, 2011, 12:02 PM
Quote:
Originally Posted by cryptoknight View Post
Now if I could only figure out how to check if a quality is present on a character.
Along the top of the Hero Lab window, find the develop menu. Make sure the first option there, "Enable Data File Debugging" is checked.

Now, at the bottom of that menu, choose "Floating Info Windows", then "Show Hero Tags".

Watch the menu that pops up as you add and delete some qualities on a test character - you'll see that a Quality tag from each one is added to the character (actually, 2 of each - I'll have to figure out what's duplicating those), along with an Ability tag. So, what you want to do is test for the presence of that tag:

Code:
if (hero.tagis[Quality.TheIdOfYourQuality] <> 0) then
Mathias is offline   #7 Reply With Quote