Jump to content

[LE] Getting Spell School


Recommended Posts

Hello all!

 

I am fairly new to modding and navigating and learning the mess Bethesda calls the Creation Kit has not been a fun ride.

 

I have now hit a roadblock. I need to figure out how to determine a Spell's school of magic in my script.

 

I searched the reference pages on the wiki and found Spell's GetNthEffect under the Skyrim SE heading, thinking it meant Skyrim Special Edition. So I thought to use this to get the string of the spell's skill:

Spell.GetNthEffectSpellEffect(0).GetAssociatedSkill()

Then I started getting the compiler complaining it could not find the GetNthEffect function. Looked into the SPELL script and, indeed, it only had the 3 vanilla Skyrim functions. It was here I realized that Skyrim SE was not referring to Skyrim Special Edition, but Skyrim Script Extender, which from what I've found, does not work with Skyrim Special Edition.

 

So I am at a loss. Can someone point me in the right direction?

 

Thanks!

Edited by Kalm1234
Link to comment
Share on other sites

I beleive there is a version of SKSE for SSE as to how complete or otherwise it is I would go to the nexus's SSE forum version of this topic to ask your questions.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...