• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Class Sorting Theory

Frodie

Well-known member
I am trying (with no luck) to sort a bunch of new classes together. I made a place holder class and made it "Show Only" and it goes right on top, NP. The trouble is to get the other classes to follow below it.

So I was thinking, making the other classes "show only" also and then script in a very late turn off or delete the "isshowonly.yes". It might trick HL into leaving it in place and making it selectable.

But I am not sure how to script should look like. I got this on the class -

perform.delete[isshowonly.yes]

But no go, any ideas?
 
If is show only is checked, then Hero Lab WILL NOT let you add the thing to the character, meaning you can't run a script.
 
Hmmm.... yeah I am not finding a good way of doing this one Frodie. You will most likely be stuck listing these new classes as Normal classes and just having their name help identify them. :(
 
Yea, I also thought about changing the class name to (XYZ) New Class. That way they would all be listed at the top. And after the class has be chosen, changing the live name back to just (new class). Kind of like how LW does the playtest classes. I did check the playtest classes out looking for a script, but they have a playtest tag on them that seems to the script internally.
 
Yea, I also thought about changing the class name to (XYZ) New Class. That way they would all be listed at the top. And after the class has be chosen, changing the live name back to just (new class). Kind of like how LW does the playtest classes. I did check the playtest classes out looking for a script, but they have a playtest tag on them that seems to the script internally.
In d20 the classes are separated by different symbols instead of headers and then yeah the live name removed the special symbol when added. So even LW use to do that in the past. :)
 
Yea, I think it's possible. I am getting close, but got an error
First 300
hero.findchild[BaseClass].field[tClass].text = "New Class"


Attempt to access field 'tClass' that does not exist for thing 'cNewClas'
Location: 'eval' script for Thing 'cFGMPIntel' (Eval Script '#1') near line 1

Got it, I was looking too deep, lol anyways this works

First 300

hero.findchild[BaseClass].field[livename].text = "New Class"

You also need to tag the class with ClVaryName Replace and the name you want to use.
 
Last edited:
So I did something similar in the 3PP Pack for Tome of Secret classes so its classes that have the same name would get "[ToS]" appended to the name. This only appears while in the list and not once the class is taken.

Final/10000:
Code:
      var sName as string
      
      ~ Loop through all class Things
      foreach thing in Class where "PackHelper.ClsSrcAbr"
        sName = eachthing.field[name].text & eachthing.field[srcBookInf].text
        perform eachthing.amendthing[name,sName]
      nexteach
So the above looks for classes with the "PackHelper.ClsSrcAbr" so you can look for say a custom tag instead. Then I stored the [ToS] in the "Source Book Info" text on the class. You can just as easily hard-code what you want to display.
 
Back
Top