Resurrecting this thread because I'm not quite there with a solution yet.
I'm attempting to make a companion an Enchanter. I'm halfway there it seems. I've included two photos in this post. The first is a character I created when I started a new game, and clearly she has the Enchanter Spell School. The second is a character I created in the toolset, for my campaign. I have added a bit of scripting when she spawns in an attempt to make her an enchanter, but it doesn't appear to be working as she doesn't have the Enchanter Spell School.
The bit of scripting I've added looks like so:
object doxie = GetObjectByTag("doxie");
if(GetIsObjectValid(doxie))
{
// Makes Doxie a specialize wizard (Enchanter)
SetLevelUpPackage(doxie, 30);
}
So here's the character I created through the game:

And here's my module companion:

What other scripting do I need to do to set the school correctly? I've tried searching the functions for "school" and only came up with two functions, neither of which allow setting.