• 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

Custom Selection Scripting

I'm trying to set up a feat that allows the user to select from three weapon groups -- Bows, Firearms, and Thrown -- to allow them to gain bonuses when using those types of weapons. Problem is, I can't just choose Weapon Groups from the dropdown, as that would list all Weapon Groups, and all the examples of custom selections that I've found use component.BaseWep, which makes you select from individual weapons. I can't figure out what to replace component.BaseWep with in order to select from weapon groups instead of individual weapons though, and I can't find anywhere in the code where it defines what has the different groups as tags so I can reference that instead.
 
If you have the Mythic Handbook there is an option for getting your weapon focus type bonuses (or specialization etc) with every weapon of a group rather than just the one you choose.

Not sure if you have the source, or even if that would be helpful or not. But if you do have the source, check it out.
 
I do have the source, and unfortunately that particular feat is hard coded into other feats in such a way that all it does is look at the individual weapon selected grab its weapon group, and apply the bonus to all other weapons in the group.
 
Back
Top