Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Conditions for displaying Special Abilities (http://forums.wolflair.com/showthread.php?t=13956)

ynnswa September 13th, 2011 06:46 PM

Conditions for displaying Special Abilities
 
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.

ynnswa September 14th, 2011 02:52 AM

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.

Kendall-DM September 14th, 2011 08:23 AM

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


ynnswa September 14th, 2011 02:45 PM

Thanks. I haven't messed with showing Specials outside the built-in Editor functions. I appreciate the tip.

Lawful_g September 16th, 2011 01:22 PM

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.

ynnswa September 16th, 2011 03:25 PM

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


All times are GMT -8. The time now is 01:01 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.