Quote:
Originally Posted by cryptoknight
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