Source Element attribute abbrev?
So I found that the Source Element has the attribute "abbrev" as listed on the "Wiki". Which is great and I added it to some of my Sources without any problems.
My question is how do I 'get' to that text from a script? I found the "sourcerefs" command but that gives me back the Source element "name" text. For a tag I could use "tagabbrevs" to get the abbreviation text. Anything similar for getting to the 'Sources' "abbreviation" text? |
It's a recent change, but items in HL now have tags in the usesource group for each of their sources. I don't make much use of source abbreviations, but hopefully, an abbreviation in the source will turn into an abbreviation on the tag.
|
Quote:
Oh well. I went a different way storing the value of "[ToS]" in the "srcBookInf" field on the class. I was trying for a way to mimic your "[playtest]" info in Pathfinder that displays next to a class name. But link it to the "source" the class was from. So that "[ToS]" would mean "Tome of Secrets" and I could store it as the abbreviation attribute in the .1st file. This way it would become very "soft-coded". Thanks! :) |
In that case, I'd make srcBookInf a dynamic tag group, and then display the tag group's abbreviation as part of the thing template in the class chooser. You can even have the [] be added by the labeltext script, so that if a book has more than one source, the brackets go around all of them.
|
All times are GMT -8. The time now is 10:00 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.