Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Tab for Ability Showing Up Early (http://forums.wolflair.com/showthread.php?t=66743)

DeathSheep January 29th, 2022 11:08 AM

Tab for Ability Showing Up Early
 
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?

Fenris447 January 29th, 2022 12:33 PM

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.

DeathSheep January 29th, 2022 02:50 PM

Thank you! That did the trick.


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

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