Jump to content

CC won't compile scripts because "it is being used by another process"?


Nawor3565

Recommended Posts

I'm having an issue when compiling scripts. When I hit "compile", the dialog comes up totally empty, no messages at all. My very simple script didn't work, so I checked the .psc file in \Source\Scripts, and here's exactly what was in the file:

Starting 1 compile threads for 1 files...
Compiling "test"...
J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc(0,0): error while attempting to read script test: The process cannot access the file 'J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc' because it is being used by another process.
No output generated for test, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on test
shed. 0 succeeded, 1 failed.
Failed on TIF__05098865

Actor Property Guard1  Auto  

Int Property NewProperty  Auto  

Actor Property awd  Auto  
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 6
Scriptname test Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_5
Function Fragment_5(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
akspeaker.startcombat(Game.GetPlayer())
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Why is the compiler log being written to the .psc file? And what program could be accessing the script and breaking the compiler? The same thing happened with every single script I've tried. One other person online has this problem, but they didn't share how they fixed it. I have Notepad++ working as a compiler, but it doesn't seem to work with Papyrus fragments. I'm using MO2, but it shouldn't be causing any problems.

 

Edit: Meant "CK" in title, not "CC". Oh well.

Edited by Nawor3565
Link to comment
Share on other sites

  • Recently Browsing   0 members

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