Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
How do you find those tags, if I may ask, and can you tell somehow when they are being added? I'm not that familiar with the manipulation of tags, but I'm giving it a shot here. The script I am using is:
if (tagis[Helper.NoMultiAdv] = 1) then perform delete[Helper.NoMultiAdv] endif if (tagis[Helper.NoMoreCls] = 1) then perform delete[Helper.NoMoreCls] endif For the bard I am doing: if (tagis[AlgnForbid.Lawful] = 1) then perform delete[AlgnForbid.Lawful] endif HL doesn't give me any errors from the scripts, but I have been trying to run it at various points in each phase, and having absolutely no luck. Any suggestions? |
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
Add a version of the item, then right-click on it - the menu will offer you the option of looking at the debug tags or debug fields of the item. You can also get them from the debug menu, floating info windows, "show selection tags" or "Show selection fields". Hero tags/fields, at the top of the floating info windows, are the other common reports I use while coding.
Where are you running those scripts from? If they're in a feat, you're checking whether the feat has those tags. hero.childfound[cHelpMnk].tagis[NoMultiAdv] moves you from wherever you started, to the hero context, then to the cHelpMnk context (using childfound[] instead of child[], so there are no errors if the feat is added without any monk levels). Once it's in the right context, then check if the tag is there. You'll need to change contexts within the deletion, too. |
#12 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Lawful_g wrote:
> > > A related feat (Devoted Performer, the Paladin/bard crossover feat), > allows Bards to be lawful, is there an eval script to make the > validation error for alignment go away? Assign the tag 'thing.skipprereq' to the bard class levels like so: foreach pick in hero where "thingid.cBard" perform eachpick.assign[thing.skipprereq] nexteach This will stop the validation error from appearing, although the Bard class will still be greyed out in the class list. -- Colen McAlister, colen@wolflair.com |
#13 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Lawful_g wrote:
> > > How are animal companions/special mounts/familiars being handled > currently? Another hybrid feat, Devoted Tracker, allows a paladin's > special mount to also be his animal companion, and receive the benefits > of both. Any way to handle this at the moment? Yikes! I never even considered that - unfortunately I don't think there's a way to handle that in Hero Lab. Sorry -- Colen McAlister, colen@wolflair.com |
#14 |
Member
Join Date: Dec 2007
Posts: 73
|
DnD: creating more broken rules to make colen work harder every day
|
#15 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
krathen wrote:
> > > DnD: creating more broken rules to make colen work harder every day I just saw this post and had to acknowledge it - it's been the story of my life for the last 2 years Hey, according to an old news item on our web site, Hero Lab is 2 years old today! Happy birthday Hero Lab! -- Colen McAlister, colen@wolflair.com |
#16 |
|
|