Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
I got alot of work on my hands, I used the hell outta the User ones, thinking that was the best way to handle my stuff. Boy oh boy.
|
#11 |
Senior Member
|
Here's something I'm trying to figure out:
var classLvl as number tagexpr = "component.Class" foreach pick in hero where tagexpr classLvl = hero.tagcount[Classes.?] ~#levelcount[????] nexteach Is there a way I could use a variable, for example, the total class for just the current class being parsed. Using Classes.? gives me the total level of the character, not the level for that one particular class. Dave I think I tried something like #levelcount[eachpick.tagnames[thingid.?]] Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter Last edited by BoomerET; February 21st, 2018 at 01:51 PM. |
#12 |
Senior Member
|
I've decided to go a different route, using xsl instead of scripting.
Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#13 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Super late to comment on this, I know, but there shouldn't be any issues. When we did this for PF all we did was hide the timings so that users won't be exposed to them in the editor. The (Users) phases are still there and will still run their code, AFAIK.
|
#14 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
Quote:
I'll be losing another week of sleep fixing these in my files (after losing two weeks worth fixing my spells). Woot! |
|
#15 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Worst case use a text editors simple find/replace which will be a little longer as you will have open each user file individually. Or as Aaron said do nothing and it will continue to just work. 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. |
|
#16 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
Also of note, I'd already known this. All this did was remind me of it again, LOL. Literally, a few posts before this last one I made the same comments.
|
#17 |
Junior Member
Join Date: May 2018
Posts: 2
|
There may be a typo in your original code.
|
#18 |
|
|