Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Pulling tags from a bootstrap source (http://forums.wolflair.com/showthread.php?t=67340)

RavenX August 27th, 2022 10:35 PM

Pulling tags from a bootstrap source
 
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?

Mathias August 28th, 2022 10: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.


All times are GMT -8. The time now is 04:42 AM.

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