![]() |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
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. |
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,169
|
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. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|