Lone Wolf Development Forums  

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


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,465

Old December 31st, 2019, 09:12 AM
This is my code for a chooser-table to pick Specialties that match a given entry's tags. I thought I understood needtag, but apparently not. The skill choice has a tag of Skill.skMech (which refers to the Mechanic skill) and no other Skill tags. There are three specialties that have the Skill.skMech. And yet, when I bring up the chooser table, it has all of the specialties. I thought that, with useHero not being set, it would look for all Specialities that match the skill choice thing.

    <needtag container="Skill" thing="Skill"/>
      if (@ispick = 0) then
        @text = "{text clrwarning}Select Specialty"
        @text = field[name].text
      @text = "Choose a specialty"
Am I missing something obvious? Or is there a good way to debug why this is happening?
Duggan is offline   #1 Reply With Quote

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 05:15 AM.

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