Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
Ok trying to change the BAB for a class in a script. Any ideas?
hero.child[cHelpMdH].field[cAttack.Good] Thank you! |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#2 |
Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
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. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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. |
|
#4 |
Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
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. |
#5 |
|
|