Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
jewbacca331
Junior Member
 
Join Date: Jan 2016
Posts: 19

Old February 24th, 2016, 09:11 AM
Can someone help me out with the script for the following Prerequisite?

"Ability to spontaneously cast arcane spells."

I am almost done building Races of the Dragon "Dragonheart Mage and this is the only code I can't find in the other stuff that has been built.

Also, can I put it in the Expr-Reqs or does it have to go in the Pre-reqs section?

Thanks.
jewbacca331 is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,146

Old February 25th, 2016, 04:31 AM
You can do an Expr-Req that looks for the tag "Hero.SpontArc"

ie: tagis[Hero.SpontArc] <> 0
Sendric is offline   #2 Reply With Quote
jewbacca331
Junior Member
 
Join Date: Jan 2016
Posts: 19

Old February 25th, 2016, 08:22 AM
Thanks! Is there a database of code that you can search that has this stuff written out?
jewbacca331 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 February 25th, 2016, 09:02 AM
Quote:
Originally Posted by jewbacca331 View Post
Thanks! Is there a database of code that you can search that has this stuff written out?
Hero Lab itself has debugging tools. In this case add a level of Sorcerer. Then go to "Develop->Floating Info Windows->Show Hero Tags".

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.

The above is for Pathfinder and some "field" names and tags will be different the general concepts and using debugging tools is all the same.

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
jewbacca331
Junior Member
 
Join Date: Jan 2016
Posts: 19

Old February 25th, 2016, 09:59 AM
I am having an issue with the Draconian language being a prerequisite. I have the following Expr-reqs:

hero.childfound[lDraconic].tagis[thing.activated] <> 0

but it is still is giving me an error even though I have the language from the Dragonborn subclass. All I am looking to do it add a prerequisite that you need the Draconic language in order to use this prestige class, but it is not linking properly to the language given by the subclass Dragonborn .
jewbacca331 is offline   #5 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,146

Old February 25th, 2016, 10:22 AM
Quote:
Originally Posted by jewbacca331 View Post
I am having an issue with the Draconian language being a prerequisite. I have the following Expr-reqs:

hero.childfound[lDraconic].tagis[thing.activated] <> 0

but it is still is giving me an error even though I have the language from the Dragonborn subclass. All I am looking to do it add a prerequisite that you need the Draconic language in order to use this prestige class, but it is not linking properly to the language given by the subclass Dragonborn .
Try making lDraconic a pick-req. That should work.
Sendric is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 25th, 2016, 10:25 AM
Quote:
Originally Posted by Sendric View Post
Try making lDraconic a pick-req. That should work.
Yikes Languages don't push the Language.? tags to the hero? Sigh I will add that to the do list.

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   #7 Reply With Quote
jewbacca331
Junior Member
 
Join Date: Jan 2016
Posts: 19

Old February 25th, 2016, 10:45 AM
The pick-req worked. What is the difference between Pick-req and Pre-Reqs?
jewbacca331 is offline   #8 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,146

Old February 25th, 2016, 01:07 PM
Quote:
Originally Posted by ShadowChemosh View Post
Yikes Languages don't push the Language.? tags to the hero? Sigh I will add that to the do list.
Actually, they probably do. I have just been doing pick-reqs for languages as it seems easier.
Sendric is offline   #9 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,146

Old February 25th, 2016, 01:08 PM
Quote:
Originally Posted by jewbacca331 View Post
The pick-req worked. What is the difference between Pick-req and Pre-Reqs?
pick-req looks to see a specific thing exists on the character. pre-reqs are used for more complicated scripts.
Sendric is offline   #10 Reply With Quote
Reply

Thread Tools
Display Modes

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 10:37 PM.


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