• 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

lack of programming skills

Maar10

Member
Hello,

Probably a very stupid question, but I'm currently building an adaptation on the druid wildshape animal ability (I want it to grant some forms on different class levels) and I am encountering some errors.

I thought to do this by copying the normal wildshape animal ability and changing the accompanying script " if (field[xAllLev].value < 2) then " to use "if (#levelcount[cHelpMOM].value < 2) then" (cHelpMOM being the name of the variable searched by Find Thing - Class helper).

However I'm getting a Tag 'Classes.cHelpMOM' not defined error. I tried to use the variable found by Find Thing - Class level, but got the same result.

What am I not doing correctly?

Thanks in advance for your help.
 
I take it cHelpMom is the new class?

Make sure you test the class and class level and then see if you can test the special ability.
 
In the class creation dialog, you were asked to provide a class identifier - a 9-letter version of the name - that's what #levelcount has to search for.

On the Class tab in the editor, you'll see that as the "Class Tag".
 
If you've created a duplicate of the druid class, then to replace one of its class abilities, what you'll want to do is to duplicate the existing wild shape ability, modify it as you wish, and then on your new class, delete the old version, and add in the new version.

xAllLev is the level of whatever class the class special is attached to, so there's no need to specifically look up the class you've made.
 
Thanks

Thanks for the response gentlemen. This was very helpfull. I copied the wildshape ability so it makes a different entry for the new class. That works fine now. The Improved wildshape ability I was trying to recreate now works with the explanation of what the Alllevel variable is meant to do. Thanks again.
 
Back
Top