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
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old November 21st, 2016, 06:21 AM
Ok so I am trying to come up with different methods to accurately have HeroLab count levels for a value. I am not sure if #levelcount[CLASS] can even be used in Eval Script for extracting a value to insert to the abValue within Class Specials. I have also tried:

perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = focus.field[cIndex].value

and

perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = hero.childcount[cBonusHD]

but I seem to have issues with finding the right timing to even make them work let alone count the right value. I usually get just a value of 1 even when I have 10 levels of specific class loaded up. I have been searching the forum a few days now trying to find specific code, sadly I have come up short. Any suggestions?
DeltaMasterMind is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 21st, 2016, 08:19 AM
Within the editor, go to the Help menu...Help On Using the Editor.

Then go to Tutorial 7 (Creating the Alchemist Class), and within that tutorial, read the "Class Specials Part 1: Alchemy and Bonus Feats" section. That includes an example with the answer to what you're asking here.
Mathias is online now   #2 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old November 21st, 2016, 08:45 AM
Thank you for the redirect! It is exactly what I needed to read.
DeltaMasterMind is offline   #3 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:33 AM.


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