Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 6th, 2015, 07:38 PM
So this is for Pathfinder but as its way more advanced and not directly tied to Pathfinder game system I figured I would ask here.

So I have the following setup for a new editor inputthing element:
Code:
    <inputthing
      name="Class Linkage"
      helptext="Select the class helper that is to get maneuvers and stances.">
      <it_linkage compset="Class" linkage="powClass"/>
    </inputthing>
So the above works great as it allows linkage to Class compset. I was hoping to limit the list of classes down by saying I only want the Class compset that have tag X. I sort of seen this work with the bootstrap stuff using <match>.

So tried a few variations of the following:
Code:
    <inputthing
      name="Class Linkage"
      helptext="Select the class helper that is to get maneuvers and stances.">
      <it_linkage compset="Class" linkage="powClass"/>
      <match><![CDATA[PathOfWar.Class]]></match>
    </inputthing>
So that we only match with those with the specific tag?

The inputthing is not documented well on the wiki and instead of me spinning my wheels trying different combinations. I figure a simple answer of yes/no would be helpful.

Thanks!

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 7th, 2015, 08:11 AM
Match is a child element of it_linkage, not a separate XML element.

Code:
<it_linkage compset="Class" linkage="powClass"> 
  <match><![CDATA[PathOfWar.Class]]></match>
  </it_linkage>
Mathias is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 8th, 2015, 09:12 PM
Awesome! Works perfectly. Thanks Mathias.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #3 Reply With Quote
Reply


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:11 PM.


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