I'm currently trying to make a mod that allows enchantments to be learned from books (Enchantment Tomes or w/e), and have run into a bit of a snag. The creation kit wiki for some reason does not have a satisfactory list of functions, commands, variables etc for me to be able to make a custom script that adds the specified enchantment to the player's "inventory" (or wherever the enchantment knowledge is stored). I've looked through as many scripts that I could think of that might be relevant to enchantments, but I can't seem to find one that actually adds an enchantment from any source besides disenchanting itself. Since there isn't an actual script for the Enchanting feature itself, (it's obviously hard coded in there) I'm really at a loss.
So, Does anyone know of any scripts that actually enables an enchantment for the player without disenchanting? Failing that, does anyone know any relevant script commands I might be able to use to do so? (I don't know, like "add.ench
Thanks,
-Progman
