Tiziano74 Posted November 20, 2021 Share Posted November 20, 2021 Hello all.I hope I can explain myself well.I'm looking for a way to add an enchantment to the player via script, without using the arcane enchanter to disenchant an item and learn the enchantment.I've been looking for a script command that does this, such as AddSpell for spells, but I can't find anything for Enchantments. . .Anyone have any ideas on how this could be done?Thanks! Link to comment Share on other sites More sharing options...
youbetterwork Posted November 23, 2021 Share Posted November 23, 2021 You can't teach enchants with scripts. But you could add an item to the player so they could learn the enchant that way. Link to comment Share on other sites More sharing options...
Sphered Posted November 23, 2021 Share Posted November 23, 2021 Enchantment FortifyIllusionSomething = Game.GetForm(0xBE003) as Enchantment FortifyIllusionSomething.SetPlayerKnows(True)Use false to unlearn the enchantment. Works for alchemy/whatever else too Link to comment Share on other sites More sharing options...
Tiziano74 Posted December 6, 2021 Author Share Posted December 6, 2021 Enchantment FortifyIllusionSomething = Game.GetForm(0xBE003) as Enchantment FortifyIllusionSomething.SetPlayerKnows(True)Use false to unlearn the enchantment. Works for alchemy/whatever else too Thanks Sphered!! Link to comment Share on other sites More sharing options...
darnahroc Posted May 27 Share Posted May 27 I know this is years later, but, for clarification, that snippet of script, can that be entered in the console or is it needing to be built into a mod itself. Cuz I'm very much looking to do the same thing. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 27 Share Posted May 27 What was written is intended for use in a papyrus script and not the console. Since SetPlayerKnows is an SKSE provided function, I doubt that there is a console equivalent. Link to comment Share on other sites More sharing options...
darnahroc Posted May 27 Share Posted May 27 OK ty for that information, it at least gives a direction to continue my research in. Link to comment Share on other sites More sharing options...
Recommended Posts