View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 23rd, 2017, 02:17 PM
So as soon as I use your long string of spells I get a HL script error as soon as I try and select the feat. Is this what you where getting?

Code:
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
- - -
Invalid tag expression specified for 'foreach' statement
Location: Procedure 'HaveSpell' near line 25
As the expression is correct my guess would be that we just hit a length limitation of a search expression.

@Mathias or Aaron my foreach expression is 358 characters long. What is the maximum length of a expression for a foreach loop?

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   #11 Reply With Quote