• 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

Fill table with picks in gizmos

Duggan

Well-known member
This is probably something with a simple and easy answer, but I'm trying to figure out how to provide a list of Skill "Specialties" on the bottom of the Skills tab. When I added them directly to the hero, it was an easy thing, adding a table that iterated over the "Specialty" compset. Now, those same items exist as picks in gizmos attached to my Skills. What's the easiest way to iterate those out for display?

Since I don't really need a table structure, just to list the Specialties, is there maybe just a way to build the text as that element? Where would that reside?
 
Code:
foreach pick in gizmo from Specialty
is how a pick can search within its own gizmo. Nested also works, if you're listing all the skills, and then all the specialties for that skill:

Code:
foreach pick in hero from Skill
     foreach pick in eachpick.gizmo from Specialty
 
Incidentally, this is working just fine once I realized I needed to state that the label was "multiline".
 
Back
Top