• 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

Selection Helpers

AndrewD2

Well-known member
So There are these things called Selection Helpers. You don't really see them, they're kinda invisible for the most part, but they make things in the editor easier.

From what I gather in the selection section of the editor we have a list of selectors that assign an "fShowWhat.?" tag. I'm guessing that those tags either must be manually defined or are created by other items.

If the tag is just defined then there's not much I can do, its made by an item then I can create an item.

I'm trying to get additional choices in the dropdown in the editor that assigns those tags.

Anyone have any idea what compset this might be? I can figure most everything else out, but finding a list of compsets seems to be more difficult that a list of components.
 
Yeah I've figured those out (even have an editor tab for making them). What I'm trying to figure out is how to setup the is how to add items to the "Select From ..." section in the editor.

attachment.php


It seems those are generated from something else on top of the just SelectHelp component/compset. I thought it was based on the Selection.? tag on the SelectHelp items since the fSelectWhat.? tags seem to match the Selection.? tags on the helpers, but new items don't show up.

I was hoping they were based on some compset that I just don't know so I could take a look at exactly what it was made of.
 

Attachments

  • selectfrom.JPG
    selectfrom.JPG
    41.3 KB · Views: 50
Yeah I've figured those out (even have an editor tab for making them). What I'm trying to figure out is how to setup the is how to add items to the "Select From ..." section in the editor.
Is that editor tab something you built for a 3PP? Cause I have been wanting to make one and it would make a great addition to the community set. :)

It seems those are generated from something else on top of the just SelectHelp component/compset. I thought it was based on the Selection.? tag on the SelectHelp items since the fSelectWhat.? tags seem to match the Selection.? tags on the helpers, but new items don't show up.

I was hoping they were based on some compset that I just don't know so I could take a look at exactly what it was made of.
So from what I saw in d20 basically the tag just tells the component what "pre-built" expression to fill in. So if it sees tag fSelectWhat.XYZ it fills in the expression with "component.BasSkill & thingid.Acrobatics" as an example. So if you look at the custom expression field on the Pick you will see it getting filled.

So one way would be to build a procedure that looks for your "new" tags and fills in the Custom Expression field based on the tag. Then just have it set with elseif statements to work with different tags.

This goes back to an enhancement I wanted awhile ago which is to add additional components into a component set. Then you could take a new custom component and add it into say the BaseFeat component set and have a new set of scripts firing on ever Feat in the system. It would SO open up some really advanced modifications. ;)
 
I just made the tab quick. I'll post it. So far I've got adders for Target.?, Helper.?, and Selection.? tags. Any suggestions for other groups to add? I'll Probably add the Reference tags too.

Yeah I know the tag just assigns a pre-defined to fill in the usrCadid1/2 field, but I figured it'd be handle to be able to create new ones ... like say Favored Enemies/Terrains (and have them selectable by the type/terrain without the extra text that makes it so hard to read).
 
Back
Top