Senior Member
Join Date: Jul 2014
Posts: 412
|
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.
|
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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. |
|
#3 |
Senior Member
Join Date: Jul 2014
Posts: 412
|
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.
|
#4 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#5 |
Senior Member
Join Date: Jul 2014
Posts: 412
|
Good to know.
|
#6 |
|
|