• 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

How to add a feat, which adds a bonus feat from a list of feats?

Hello HL Forums, this one is a bit of a doozy.

I need to create a feat that has a drop down menu of other feats for the user to select. The list of feats would be feats which require the hero to have a certain racial ability. After the user has selected the feat, it would be added as a bonus feat for that character.

How would you go about doing this? Are there any existing feats which do a similar thing?

I'm currently stuck on the first part of getting the drop down menu to show feats. For the drop down custom expression I've tired the following:

Code:
component.BaseFeat
Code:
fCategory.General

But these only give me Picks which the hero has, I need Things for this feat to work, how might I get a list of those?
Figured this last part out, by restircting the list to "All Things" it lists feats not on the hero..

Thank you for your time,
Chimeforest
 
Last edited:
You cannot use a script to create an object that then has to run its own scripts.

For this, use a configurable, where the user can choose the feat they want.
 
Ah okay.. so I can't use a script to add a bonus feat? Or I can't use the script to limit the list of feats to ones which require the racial attribute?

I've not used a configurable before, Could you point me towards a tutorial which explains them?

Thank you
 
Back
Top