• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

A question about the inline comments for skills.

davidj

Member
On a printed character sheet, HL shows super helpful comments about situational modifiers in the skills list. For example, if your speed is >30, a comment about your Jump modifier will appear immediately below the Acrobatics skill.

Where/how is this comment controlled? Similar comments that occur below the saving throw section seem to be handled in the eval script for a given Feat/Trait/whatever. Poking around the skills yielded no insights.

Thanks.
 
It uses the #situational macro.

Code:
#situational[hero.child[xxxxx], "a situational string", "a string that says where it's from"]

the second string is usually field[thingname].text but can be any text you want (sometimes you want a slightly different name than the actual thingname)
 
This is the code I'm using for the saving throws:

Code:
#situational[hero.child[svAll],"my message",field[thingname].text]

The tag, svAll, was easy to find as it appears in any number of feats. I just haven't been able to figure out the correct tag for the comments in the skill list. I'll keep plugging away.

Thanks for the reply!
 
The tag, svAll, was easy to find as it appears in any number of feats. I just haven't been able to figure out the correct tag for the comments in the skill list. I'll keep plugging away.
So that is a "Pick" not a "Tag". A tag is two words separated by a period like "Helper.HitDice". A "Pick" is a "Thing" that has become live on a character. So a Feat that has not yet been selected is a "Thing" but once its selected and added to a character it becomes a 'Pick'. Hero.child[] references a Pick.

Why is the above important? Because it helps figure out how to use the debugging tools. Go to "Develop->Enable Data File Debugging" and make sure this is checked marked. Then right click on "any" skill and select "Copy Unique ID". That gives you the Unique ID of the Pick for that skill. Replace "svAll" with that Unique ID and you can add a situational note to any skill now. :)

Based on the above you can go to "Develop->Enable Data File Debugging->Floating Info Windows" and pull Tags/Fields from the hero or other Picks on the character.

I would recommend reading the Glossary of Terms for the Editor. Then check out FAQ#2 for all the places to learn about the editor including YouTube videos.
 
You have to use the specific skill id, the AllSkills pick does not populate situationals.

if you are applying it to every skill then you have to use a foreach loop.
 
ShadowChemosh - thanks for the info. I had actually been using the correct pick, if not the correct term for it, as I tried to figure out what I was doing wrong. My issue ended up being completely from left field. I'm running HL on a Mac, and my default keyboard setting is to dynamically replace the inch symbol (ASCII 34) with unicode curly quotes (aka 'smart' quotes). The OS is context sensitive, and every native coding IDE I have turns this feature off. Not so with HL. So, it wasn't until I noticed the error HL was throwing had changed to a string syntax error as opposed to an invalid name error, and then further realized what was going on with the quotes...

Anyway, I'll definitely continue to dig into the online resources more. Thanks for the help!
 
Back
Top