View Single Post
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