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
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 6th, 2012, 04:32 PM
Ok trying to change the BAB for a class in a script. Any ideas?


hero.child[cHelpMdH].field[cAttack.Good]


Thank you!
Frodie is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old December 6th, 2012, 04:36 PM
cAttack.Good is a tag, but you have it inside brackets of a field which won't do at all. Try assigning the tag to your class helper instead.
Aaron is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 6th, 2012, 04:44 PM
I have this in a Custom Ability. I did add it to the tags, but it didn't work.

The next script I tried was:
perform hero.child[cHelpMdH].assign[Helper.cAttack.Good]

But the error I am getting:
Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'ctestatk' (Eval Script '#1') on line 1
-> Invalid syntax for tag template

Last edited by Frodie; December 6th, 2012 at 04:48 PM.
Frodie 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 December 6th, 2012, 04:54 PM
Quote:
Originally Posted by Frodie View Post
The next script I tried was:
perform hero.child[cHelpMdH].assign[Helper.cAttack.Good]
That is not a valid tag. Tags start with a group id (ie Helper, Hero, xxx) and then has a dot followed by the specific tag (Good, Caster, xxx).

So based on your first post I assume you mean "cAttack.Good".

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
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 6th, 2012, 04:56 PM
yep, "cAttack.Good".
In the Tag Box: group id is cAttack and Tag id is Good under Archetypes and classes. But will not work in a Custom Ability. That is the need for the script.


Got it:

perform hero.child[cHelpMdH].assign[cAttack.Good]

Thanks yall!

Last edited by Frodie; December 6th, 2012 at 05:07 PM.
Frodie is offline   #5 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 09:53 PM.


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