• 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

Conditions for displaying Special Abilities

ynnswa

Active member
I have a special ability that exists for each class in the game system. It's only purpose is to display on the Special tab.

Is there some way to set its appearance on that tab as conditional? Right now, if you multi-class, it displays once for each class you take.
 
Wow, I can be stuck on the literal sometimes....

This is a class based ability, so I focused in on Classes. However, you can have as many classes as you have levels for but you only get one race. I have changed this to a racial special ability, which solved my issue.

I'd still like to know if making the display of Specials conditional is possible in HL. Just curious.
 
Last edited:
Your scripted conditional should delete the Helper.ShowSpec tag for the ability if its condition is not met.

Code:
if (<condition is not met>) then
  var result as number
  result = hero.child[<special ability>].delete[Helper.ShowSpec]
endif
 
Thanks. I haven't messed with showing Specials outside the built-in Editor functions. I appreciate the tip.
 
Last edited:
You can set the special's Uniqueness equal to "Unique" or "Add Once" that way no matter how many times it is bootstrapped it will only show once.
 
I didn't realize that was purpose for Uniqueness. I assumed it was only about the number of times something could be manually added to the character.

Thanks
 
Back
Top