Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
levelcount[#class] was
Code:
hero.tagcount[Classes.#class] Code:
hero.tagcount[Classes.#class] + hero.tagcount[LvCountAs.#class] |
#271 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Is a macro not like a method/function in that it has separate logic as its own object? I guess I am answering my own question because obviously its not. It must be more like a INCLUDE logic in PHP? So that its just simply having the code above get spliced into the code at the point where the macro is referenced. so that this: Code:
field[abText].text = #levelcount[PWBtlTmpl] & " + 1d4/maneuver level HP" Code:
field[abText].text = hero.tagcount[Classes.PWBtlTmpl] + hero.tagcount[LvCountAs.PWBtlTmpl] & " + 1d4/maneuver level HP" 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. |
|
#272 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Yeah that's what I'm assuming. Its just a shorthand for inserting as opposed to a something like a function call with a return value.
|
#273 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
ShadowChemosh's splicing example is the way macros in Hero Lab work.
|
#274 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Good to keep in mind for the future. 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. |
|
#275 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
I am attempting to create a secondary class for variant multiclassing as presented in Psionics Unchained.
The CSCountAs Tag and the Aegis class id results in the following error: Hero Lab was forced to stop compilation after the following errors were detected: File: COM_3PPPack_PsionicsUnchained - Classes.user (line 28) - Thing 'csPU2Aegis' (dynamic tag) - Tag 'Aegis' not defined |
#276 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Otherwise as Aaron is helping you already I don't think having "two" people giving you advice will help at this point. 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. |
|
#277 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Naming is just for my own use, although the goal is to have these secondary classes go out to the community at large eventually.
Btw, in the community pack for ultimate psionics, you are missing the Coordinate class ability for the Tactician class. |
#278 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Thanks for the bug report. Added to the issues list. 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. |
|
#279 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
You were able to verify it (the bug)?
|
#280 |
|
|