• 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

Tab for Ability Showing Up Early

DeathSheep

Well-known member
I have three different abilities that each have a tab that appears to select sub-abilities, when you choose a sub-class. The first one, of course, appears immediately which it should. The problem is the other two tabs also appear for abilities that don't unlock until 11th and 17th level respectively. Is there a line I need to insert somewhere to prevent the tabs from appearing until the ability unlocks?
 
On the bootstraps for the tabs/configurables, add conditions for the levels. Here's what you'd put to test for level 11:


Code:
hero#Classes.? > 10

I think timing First 500 is safe for this; the classes tags get added to the hero some time before that. Just make sure any scripts on the thing you're bootstrapping run after whatever timing is on the conditional bootstrap.
 
Back
Top