Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 1st, 2016, 09:43 AM
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.
Minous is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 1st, 2016, 03:17 PM
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.
ShadowChemosh is offline   #2 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 1st, 2016, 04:43 PM
Quote:
Originally Posted by ShadowChemosh View Post
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.
Minous is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 3rd, 2016, 08:43 AM
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.
ShadowChemosh is offline   #4 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 3rd, 2016, 09:16 AM
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.
Minous is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 3rd, 2016, 10:35 AM
Quote:
Originally Posted by Minous View Post
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...

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.
ShadowChemosh is offline   #6 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old July 5th, 2016, 03:17 AM
This nifty little feature would actually be a great addition to the Community Resources...
Lord Magus is offline   #7 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 04:46 AM.


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