Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old December 11th, 2013, 01:05 PM
I did a search in the HL wiki, as well as here in the forums, and there is nothing that references 'ispanelhighlight' of any substance.

I've tried testing it to see what it does, but the results are not showing any change whether it's set to 'yes' or 'no'.

I believe the default is probably 'yes', as that's what I'm seeing in the DTD.

What led me to look at this parameter is as follows:

I have a resource, numberOfWizardSpells.

If #resleft is greater than 0, then everything is ok.
(Guess this doesn't need to be checked)
If #resleft is = 0, then everything is still ok, but no other spells of that level should be available, but the spells listed on the screen are okay.
If #resleft < 0, then Houston, we have a problem, spells should be listed in Red, and shouldn't appear in the list if we have valid items only.

I'm scratching my head, because this seems like it should be so easy.


BoomerET

Castles & Crusades Ruleset for Hero Lab
Hero Lab (5E D&D) -> Fantasy Grounds Character Converter
BoomerET is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 11th, 2013, 01:20 PM
I don't know what ispanelhighlight does - I can't remember ever using it.

I just use the panellink setting on the resources to control which panel goes red when you've under or over-spent a resource:
Code:
<thing
  id="resAttrBP"
  name="Attribute Karma"
  compset="Resource"
  panellink="basics">
resLeft > 0 being OK is handled by assigning that resource the Helper.NoMinimum tag. In the miscellaneous.str file, take a look at evalrule #2 in the Resource component, and you'll see that it starts off by testing for that tag - the Eval Rule is satisfied if it's present.
Mathias is online now   #2 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old December 11th, 2013, 03:31 PM
Thanks Mathias, that works a dream (and finally helps me understand what on earth that panellink is doing)


BoomerET

Castles & Crusades Ruleset for Hero Lab
Hero Lab (5E D&D) -> Fantasy Grounds Character Converter
BoomerET is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:07 PM.


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