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)
-   -   Retriving another Thing's Description text... (http://forums.wolflair.com/showthread.php?t=58962)

RavenX August 13th, 2017 04:18 PM

Retriving another Thing's Description text...
 
Mathias,

How do I get hero lab to retrieve the description text of another item to append it to the description of something? I know in Pathfinder this can be accomplished with a tag, but how I would implement that? Do I need to shadow all the things to the hero so it can be retrieved?

Duggan August 23rd, 2017 03:30 PM

I too am wondering the same thing. I have skill specialties that have a tag for the associated skill. It would be nice to be able to add the text of the Skill name automagically when displayed.

Mathias August 24th, 2017 07:10 AM

Code:

foreach thing in component where "tag expression"
    @text &= eachthing.field[descript].text
    nexteach

Be careful to use eachthing, not eachpick, in a thing-based foreach like this one.


All times are GMT -8. The time now is 02:35 AM.

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