Member
Join Date: Mar 2015
Posts: 91
|
Hello,
I have been playing around with the authoring kit for a while now but have hit a small issue with the module I'm knocking about. I have used a <candidate></candidate> expression to limit the choices a person has with regards to abilities a career can select. The actual expression is very long as there is a large number of careers. <candidate>(Ability.Almist & hero#Class.clAlist) | (Ability.Alleg & hero#Class.clAlleg) | (Ability.ArcMech & hero#Class.clArcMech) | ......etc </candidate> However, the list is now so long that it literally crashes Hero Labs if I try to add any more to it. Is there a way that I can pull the class tag off the Hero and use it in the candidate expression? This would reduce this massive expression down vastly to only a few lines. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Create another tag to add to those abilities and then you can check for the tag on just those abilities.
Last edited by AndrewD2; April 2nd, 2015 at 06:58 AM. Reason: typo |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
It sounds like you're trying to re-create the <needtag> element:
http://hlkitwiki.wolflair.com/index....ent_%28Data%29 |
#3 |
Member
Join Date: Mar 2015
Posts: 91
|
Hello,
Thank you for your replies. It was the <needtag> that I was emulating and now I know it saves about 3000 characters of code. Joys of self teaching. I found that this reference sorted out the rather bland wiki description. http://forums.wolflair.com/showthrea...=21806&page=35 If anyone else needs it. |
#4 |
|
|