Jump to content

[LE] SKSE functions not working on SE


Recommended Posts

I'm trying to compile a script in the SSE CK using SKSE functionality, but it simply does not compile and spits the error: IsSwimming is not a function or does not exist

 

The script:

Scriptname TBPSwimCheck extends activemagiceffect  Conditional

Spell Property GSpell Auto
Spell Property WSpell Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
	If akCaster.IsSwimming()  == 1
		debug.notification("Swimming!")
		WSpell.Cast(akCaster)
	else
		debug.notification("Not Swimming!")
		GSpell.Cast(akCaster)
	endif
EndEvent

I know it should work because it compiles on LE just fine. I installed both the PEX and psc scripts in the scripts and source folders respectively and compared between my LE and SE install and they are nearly identical (the only difference is that the dlc folders aren't there in SE but that is normal). I'm at a loss, I feel like I am missing something obvious but I can't for the life of me figure out why this does not work.

 

 

Edited by theblackpixel
Link to comment
Share on other sites

I fixed the problem! Turns out for whatever reason the filepath for (my) SSE's scripts is different then the LE one. In LE it is data/scripts/source but in SE it is data/source/scripts. I do not know why but I'm glad it's working now, I hope this topic helps someone else in the future :)

Link to comment
Share on other sites

Hi

I have the same issue and i can't use SKSE functions in my scripts :geek:

I am using the Creation Kit 64 for SE
I installed SKSE64 v.2.0.17 on Skyrim SE, checked from console with getskseversion
I copied all the scripts from the skse64_2_00_17\Data\Scripts folder to the game folder ..\Skyrim Special Edition\Data\Scripts
Every time I try to use an SKSE function such as SaveGame or any other, and I try to save the script, I get the error message for example "SaveGame is not a function or does not exist"
What did I do wrong? :ninja:

Edited by Tiziano74
Link to comment
Share on other sites

I fixed the problem! Turns out for whatever reason the filepath for (my) SSE's scripts is different then the LE one. In LE it is data/scripts/source but in SE it is data/source/scripts. I do not know why but I'm glad it's working now, I hope this topic helps someone else in the future :smile:

In my SE i have both . . . \Skyrim Special Edition\Data\Scripts\Source and \Skyrim Special Edition\Data\Source\Scripts . . . i'm just a little confused :huh:

Link to comment
Share on other sites

 

I fixed the problem! Turns out for whatever reason the filepath for (my) SSE's scripts is different then the LE one. In LE it is data/scripts/source but in SE it is data/source/scripts. I do not know why but I'm glad it's working now, I hope this topic helps someone else in the future :smile:

In my SE i have both . . . \Skyrim Special Edition\Data\Scripts\Source and \Skyrim Special Edition\Data\Source\Scripts . . . i'm just a little confused :huh:

 

 

Using default setup with SSE:

Place the SKSE PEX files in Data > Scripts

Place the SKSE PSC files in Data > Source > Scripts

 

Some mods that you may have already installed use Data > Scripts > Source for their PSC files. This is because they either changed where the CK looks for PSC files or they used a 3rd party tool that can compile scripts and utilize multiple input folders.

Link to comment
Share on other sites

 

 

I fixed the problem! Turns out for whatever reason the filepath for (my) SSE's scripts is different then the LE one. In LE it is data/scripts/source but in SE it is data/source/scripts. I do not know why but I'm glad it's working now, I hope this topic helps someone else in the future :smile:

In my SE i have both . . . \Skyrim Special Edition\Data\Scripts\Source and \Skyrim Special Edition\Data\Source\Scripts . . . i'm just a little confused :huh:

 

 

Using default setup with SSE:

Place the SKSE PEX files in Data > Scripts

Place the SKSE PSC files in Data > Source > Scripts

 

Some mods that you may have already installed use Data > Scripts > Source for their PSC files. This is because they either changed where the CK looks for PSC files or they used a 3rd party tool that can compile scripts and utilize multiple input folders.

 

Done

And now it works!!

Thanks :cool:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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