• 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

Animal Companion Error

Angela2013

Well-known member
A few months ago I used the editor to enter in the Hexblade class from the Complete Warrior source book. Everything was working fine. The player of the character went off to college and could only play a couple of times. Recently during Spring break he was here to play and I went to update his character (this was after an update or two from Hero Labs). I started to get this error poping up every 15-20 seconds on his character.

Any and all help would be great. I am not up on all scripting, so just pointing me in the right direction may not work. Maybe a nice hand-held stroll to the answer is better.
 

Attachments

  • Animal Companion Error.jpg
    Animal Companion Error.jpg
    58.7 KB · Views: 24
From the message it says that there is an error in the eval script. Have you coded in a script for some type? if so can you paste it in here for us.
 
I did not code the script. Just used the one for the ranger class.

First 375


root.linkage
.field[cAnimStart].value = 4


Animal Companion (dAniComp)

At 4th level, you gain the service of an animal companion. Your effective druid level for this animal companion is equal to your cleric level – 3. (Druids who take this ability through their nature bond class feature use their druid level – 3 to determine the abilities of their animal companions).

As I posted earlier, this work fine, now not so great. Oh there was a blank line then the line of script.
 
What editor tab did you use that bit of code in?

The code you have there can only be used on a class special that is bootstrapped by a custom class ability.
 
In that case, use:

root.field[cAnimStart].value = 4

The "linkage
" portion is specific to custom class abilities - the Cleric's Animal domain, for example, or the Druid or Ranger's Animal Companion selection. Since you're not using a custom class ability, and you're bootstrapping it directly to the class, you don't want that part.
 
Back
Top