Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Fill table with picks in gizmos (http://forums.wolflair.com/showthread.php?t=59229)

Duggan September 24th, 2017 10:46 AM

Fill table with picks in gizmos
 
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?

Mathias September 28th, 2017 01:53 PM

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


Duggan October 11th, 2017 05:40 PM

Incidentally, this is working just fine once I realized I needed to state that the label was "multiline".


All times are GMT -8. The time now is 01:31 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.