• 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

present a choser with explicit options only

athelu

Well-known member
I am wanting to allow a race to be able to pick a weapon proficiency from a list of weapons. This list does not conform to a class of weapon (i.e simple, martial, exotic), but has selections from each of those.

I am doing this within a Racial Cust Special - trying to use the "Item Selection" feature with a custom expression. I just have not found an example to manually assign list items like i am trying.
 
Some ideas of where to look - the first couple I found are from the favored class options:

Halfling Rogue/Ninja: Choose a weapon from the following list: sling, dagger, or any weapon with "halfling" in its name

Although when looking at this one, it's not written in an ideal form - it's using thingid tags to identify specific weapons, and it should be using IsWeapon tags instead.

Tengu Rogue/Ninja:
Choose a weapon from those listed under the tengu's swordtrained ability (which is light blades and heavy blades)
 
Last edited:
so looking at the first example, if you could bear with me and describe what this expression is doing:

component.BaseWep & (thingid.wDagger | thingid.wSling | RaceName.rHalfling)

does the component.basewep restrict this to items in the characters inventory?

At least, when i try to modify it for my use the only options that show up are weapons i have given to the character.

for example, if i do :
component.BaseWep & (IsWeapon.wLongbow | IsWeapon.wKatana)

What i see in the picker is :
Melee touch attack
Ranged Attack
Ranged touch attack

If I add one of the weapons in the expression to the character, i can then choose that weapon. But it does not show up otherwise.
 
Back
Top