• 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

Help adding (house-ruled) class skills to Gunslinger?

(1) Instead of using Perception, I use two skills (Notice and Observe). I also use Athletics in place of Climb, Swim, and the jump part of Acrobatics.

(2) I've added these to my HouseRules.user file in Hero Lab, and under the Eval Scripts button I've also added all of the classes (from Core, APG, Ultimate Magic, and Ultimate Combat) that have these as class skills.

(3) With one exception: Gunslinger gives me an eval error, can't find classes.Gunslinger. I can't figure it out; as far as I can tell "Gunslinger" is the correct tag. All of the other classes work fine.

The code is:

if (#levelcount[Barbarian] >=1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Bard] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Cavalier] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Druid] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Fighter] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Inquisitor] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Monk] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Ranger] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Rogue] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Magus] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Ninja] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Samurai] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Warrior] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Aristocrat] >= 1) then
#makeclassskill[skAthletic]
elseif (#levelcount[Commoner] >= 1) then
#makeclassskill[skAthletic]
endif

Adding in the elseif for Gunslinger returns, as I said, an eval script error. No idea why. I thought it might be a string-length issue, but Aristocrat works fine.

Can you tell me where I can look to know for sure whether "Gunslinger" is correct? Any idea on why this might be happening?


Jeff
 
To find this out, try the following:
In the program, go to Develop menu, and choose "Enable Data File Debugging", then choose the "Floating Info Windows" and "Show Hero Tags".

Then add a level of Gunslinger, and scroll down in the Info window to where it shows the Classes.WHATEVER tags, and you will see that a Classes.Gunsling tag is added each time you take a level in Gunslinger. Enabling Data File Debugging is one of the most useful things you can do to learn how HL works and help you get the hang of coding.
 
Back
Top