Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 2nd, 2016, 03:14 PM
I will take a look maybe this Sunday. Just won't have time before then. Sorry.

Allot of what I see is small syntax issues that would cause HL to freak out on. The "concept" I think is ok but the code syntax is off.

This:
Code:
hero.findchild[ClassList,fieldval:cIndex = X].setfocus
Needs to become this:
Code:
hero.findchild[ClassList,"fieldval:cIndex = 1"].setfocus
This script. I have no idea what your trying to do. SORRY! It looks like you trying to change a field into a tag and assign that as a string to the pick? If that is true you can't do that.
Code:
var index as string
index = eachpick.field[cIndex].value
index = "cIndex" & index
perform eachpick.assign[User.(index)]
findchild[] is almost as bad as foreach loop. The only difference is that you only ever get back "ONE" Pick instead of many. So the first Pick you get back better be the one you need.

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


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 07:44 PM.


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