Member
Join Date: Jul 2010
Posts: 33
|
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. |
#1 |
Member
Join Date: Jul 2010
Posts: 33
|
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 by ynnswa; September 14th, 2011 at 03:39 AM. Reason: Just correcting my early morning typos and lack of clarity. |
#2 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
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 |
#3 |
Member
Join Date: Jul 2010
Posts: 33
|
Thanks. I haven't messed with showing Specials outside the built-in Editor functions. I appreciate the tip.
Last edited by ynnswa; September 14th, 2011 at 02:50 PM. Reason: Now I'm correcting my afternoon typos. Maybe it's just not my day to type. |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
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.
|
#5 |
Member
Join Date: Jul 2010
Posts: 33
|
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 |
#6 |
|
|