Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old September 24th, 2017, 10:46 AM
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?
Duggan is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old 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
Mathias is online now   #2 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old October 11th, 2017, 05:40 PM
Incidentally, this is working just fine once I realized I needed to state that the label was "multiline".
Duggan is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:13 AM.


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