Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,621

Old August 27th, 2022, 11:35 PM
How can I get hero lab to pull tags off the source a thing is bootstrapped to?

Say I have a "class ability" that gets bootstrapped by a class. I have setup an identity tag on the class I'd like to pull into the class ability through a script. How would I accomplish this?

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,058

Old August 28th, 2022, 11:26 AM
As long as the ability is not unique, you can use
perform root.pulltags[Group.?]


If it's unique, you'll need to use a foreach:


foreach root in this from Class where "Whatever is appropriate"
perform eachpick.pulltags[Group.?]
nexteach


Although I'd re-consider making them unique before switching things to a foreach root - just switch the abilities to user-once instead. Adding a foreach that will run on every one of a large number of abilities is wasted effort.
Mathias is offline   #2 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 01:34 AM.


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