• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Pulling tags from a bootstrap source

RavenX

Well-known member
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?
 
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.
 
Back
Top