Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old August 21st, 2017, 10:29 AM
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.
Kendall-DM is offline   #11 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old February 21st, 2018, 01:38 PM
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.
BoomerET is offline   #12 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old February 21st, 2018, 07:28 PM
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
BoomerET is offline   #13 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 1st, 2018, 12:41 PM
Quote:
Originally Posted by ShadowChemosh View Post
Great question for LW. I am just sharing that they are planned to be deprecated at a future point. So may as well move away from them now and save yourself any issues.
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.
Aaron is offline   #14 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old March 10th, 2018, 09:28 AM
Quote:
Originally Posted by ShadowChemosh View Post
Several more notes:
1) DO NOT use the '(Users)' timings as those are going to go away in a future d20 update.
Craaaap! I've been using those... for forever (so I knew they were timings I created rather than HL timings).

I'll be losing another week of sleep fixing these in my files (after losing two weeks worth fixing my spells).

Woot!
Kendall-DM is offline   #15 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 10th, 2018, 10:14 AM
Quote:
Originally Posted by Kendall-DM View Post
Craaaap! I've been using those... for forever (so I knew they were timings I created rather than HL timings).

I'll be losing another week of sleep fixing these in my files (after losing two weeks worth fixing my spells).

Woot!
Need to simply use a Find/Replace grep tool and it will be finished in about 5 minutes.

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.
ShadowChemosh is offline   #16 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old March 10th, 2018, 11:05 AM
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.
Kendall-DM is offline   #17 Reply With Quote
tinhkt5491
Junior Member
 
Join Date: May 2018
Posts: 2

Old May 30th, 2018, 11:34 PM
There may be a typo in your original code.
tinhkt5491 is offline   #18 Reply With Quote
Reply

Thread Tools
Display Modes

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 05:59 PM.


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