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 25th, 2016, 11:30 AM
Is it possible to pull Class Levels through the Class Custom Ability objects? It is no problem to do so in class specials, but I can't use the same code in the Class Custom Abilities and this is making it troublesome in keep everything as cleaned up as I want. If not is there a code that can be used to make a object forward level values that I can tap into. xIndex isn't working quite right for me yet in class custom abilities and xCount and xAllLev just won't work there. Alot of the work I need to do requires Class Level counts to be taken as a value to achieve the proper setup. The tutorial isn't providing an answer as far as I have read.
DeltaMasterMind is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old November 25th, 2016, 11:37 AM
There are probably hundreds of custom special abilities which use the level of their linked class. Copy and look at the script of any of those.
Aaron is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 25th, 2016, 12:05 PM
Quote:
Originally Posted by DeltaMasterMind View Post
Is it possible to pull Class Levels through the Class Custom Ability objects? It is no problem to do so in class specials, but I can't use the same code in the Class Custom Abilities and this is making it troublesome in keep everything as cleaned up as I want. If not is there a code that can be used to make a object forward level values that I can tap into. xIndex isn't working quite right for me yet in class custom abilities and xCount and xAllLev just won't work there. Alot of the work I need to do requires Class Level counts to be taken as a value to achieve the proper setup. The tutorial isn't providing an answer as far as I have read.
As Aaron said or look at Mathias article on Location Location Location. A custom ability is at a different location/level than a class ability and you have to adjust your script logic to match.

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   #3 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old November 25th, 2016, 01:58 PM
Yeah I still have up that web page, the Location x3. Same with the Tutorial from Herolab on the Alchemist. I have learned alot and I got it working. Granted I used field[abValue].value = #levelcount and then did some repeat fields to get what I wanted. I didn't think that would work but it did and is flexible with the timings. Sometimes I just forget where to look. Thanks though.
DeltaMasterMind is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old November 25th, 2016, 02:12 PM
I'd advise against using #levelcount macros for this. There is a field which stores the effective level for this custom special, and unlike levelcount that will give you the level regardless of what class adds it. For example, both Bards and Skalds can use certain rage powers. If we'd built those powers using the levelcount macro, once skalds could use them we'd have had to go through and update every one of those scripts.
Aaron is offline   #5 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old November 25th, 2016, 02:50 PM
Good to know.
DeltaMasterMind is offline   #6 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 01:03 PM.


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