• 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

Help with a Mechanic

Minous

Well-known member
I want to make skIntDC (a sudo skill that I have for showing the intimidate DC for a given character so that I dont have to calculate it on the fly) a default skill listed on everyone's skill tab. How would I do that?

And Ideally it would only appear on NPCs
 
Last edited:
Bootstrap it the condition and use a Bootstrap Condition to test for the Hero.? tag that tells you the character is a NPC/PC.

Alternative method is have this skill be a every man skill so its always displayed. Then on the skill itself set the Hide.Skill tag based on the NPC/PC logic. Well that is if there is a Hide.Skill tag I can't 100% remember and I don't have time to look. Sorry... :(
 
Bootstrap it the condition and use a Bootstrap Condition to test for the Hero.? tag that tells you the character is a NPC/PC.

Alternative method is have this skill be a every man skill so its always displayed. Then on the skill itself set the Hide.Skill tag based on the NPC/PC logic. Well that is if there is a Hide.Skill tag I can't 100% remember and I don't have time to look. Sorry... :(

Not sure if Im just being dense, but the first sentence doesnt make sense. I looked at the mechanics/boot straps/auto adds and the link you provided but Im getting nowhere.
 
I guess I wrote a little quickly. Bootstrap the skill to the mechanic. That causes it to always display on the hero. Then add the bootstrap condition logic so that it ONLY displays (ie becomes live or becomes a Pick) when the NPC tag (CharType.typNPC) is present on the hero.
 
Thanks for making it a little clearer.

Im trying to use:

hero.tagis[CharType.typNPC]

but Im getting compilation error with the condition. it says hero.tagis is not defined.
 
Thanks for making it a little clearer.

Im trying to use:

hero.tagis[CharType.typNPC]

but Im getting compilation error with the condition. it says hero.tagis is not defined.
The article I linked to earlier explains in detail how a bootstrap condition script is different than a normal HL script.

In this case it's just:
Code:
CharType.typNPC

Also once you use bootstraps conditions DO NOT use Test Now. You must reload HL CTRL-R to get Things to work correctly...
 
Back
Top