Senior Member
Join Date: May 2015
Posts: 830
|
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 by Minous; July 1st, 2016 at 09:45 AM. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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... Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: May 2015
Posts: 830
|
Quote:
|
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#4 |
Senior Member
Join Date: May 2015
Posts: 830
|
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. |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
In this case it's just: Code:
CharType.typNPC Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#6 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
This nifty little feature would actually be a great addition to the Community Resources...
|
#7 |
|
|