Senior Member
Join Date: Dec 2010
Location: Northeast Quadrant
Posts: 128
|
Quote:
validif (#resmax[resEnemSel] <> 0) endif Almost. It dropped the line about prereq and ultimately reduced the error message down to "Attempt to access script from container with no ability to do so" Dunno if it makes a difference, but the eval script is : hero.child[resEnemSel].field[resMax].value += 1 (Pre-levels/1000) |
|
#11 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
I'd guess that to know if resmax is <>0, levels have to be taken into account.
Hence I'd try this at Post-Levels, not Pre-Levels |
#12 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Tried playing around and found that that childlives or picklives will both cause these errors your seeing. Your currently only choice is to remove the checks.
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. |
#13 |
Senior Member
Join Date: Dec 2010
Location: Northeast Quadrant
Posts: 128
|
I already did. It's one of those things where there's no point in taking the feat if you don't meet the prereqs anyway. I just thought I'd point it out in case the author wanted to fix it (or remove it) from the official set.
|
#14 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Poizen and Shadow,
I just now saw this thread, and want to thank you for pointing out the solution. I was able to separate into two different checks: AFE: Expr-req: hero.childlives[resEnemSel] <> 0 pre-req: validif (hero.childfound[resEnemSel].field[resMax].value >= 1) The Terrain one is the same but referencing resTerrSel. Thanks! Thomas |
#15 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
picklives is obsolete and was replaced by childlives.
|
#16 |
|
|