Jump to content

Need help with this script compiling error


zalhozixixer

Recommended Posts

So long story short, I'm trying to run a script that makes an NPC essential. But every time I try to compile it, it fails and gives me the following error:

Starting 1 compile threads for 1 files...
Compiling "TIF__0500AA1A"...
C:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__0500AA1A.psc(12,10): SetEssential is not a function or does not exist
No output generated for TIF__0500AA1A, compilation failed.


Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0500AA1A

The script I'm trying to run is "akspeaker.SetEssential()". And while it should in theory work, it just keeps telling me its not a fuction or does not exist.

Other scripts like ".SetFactionRank" do work like normal.

I have the feeling that the cause might have something to do with MO2, which I'm running CK through. But any solutions I found on the internet related to that have so far failed.

 

I'm kind of at my wits end here. If anyone could help me out, that would be great.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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