ArrowFX Posted October 7, 2020 Share Posted October 7, 2020 Sorry that the title isn't that specific but I have a bit of a problem and couldn't think of a better title. So about 2 hours ago I decided to uninstall all my mods and reinstall Skyrim and only have the bare basics(Both to make the game load faster and to clear up some storage space), So after reinstalling SSE, creation kit, skse and skyui API I decided to go back and start modding but now whenever I type a function, event or rly anything I get errors, for example, I can't use .GetName() on actors, weapon, armor or objectreferences. I rly don't know what I might have done wrong is or what I might have forgotted to do. -Have you extracted the scripts.zip-Yes -Have you put the skyui api in the right location-Yes, I put it in Source/Scripts and I tried it every possible way just incase I was wrong about the location. -Are you sure that your code isn't the problem-Yes, I have been able to compile it and it works fine. -Have you verified game integory-Yes, Twice. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted October 7, 2020 Share Posted October 7, 2020 GetName is an SKSE function. Make sure that the SKSE PSC files are in the proper location. SKSE64 ships with the source files following the LE directory structure. Thus you may need to manually move them to the correct SSE directory structure. Link to comment Share on other sites More sharing options...
ArrowFX Posted October 7, 2020 Author Share Posted October 7, 2020 GetName is an SKSE function. Make sure that the SKSE PSC files are in the proper location. SKSE64 ships with the source files following the LE directory structure. Thus you may need to manually move them to the correct SSE directory structure.Yes, I have them installed correctly. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted October 7, 2020 Share Posted October 7, 2020 Post your script code as well as the compiler error. Perhaps there is something else causing the issue. Make sure the posted code is the code used to get the compiler error. And just to play devil's advocate for a moment. Did you start the game up to initialize the INI files before starting to mod? Shouldn't interfere with the compiler but one never knows for sure... Link to comment Share on other sites More sharing options...
ArrowFX Posted October 7, 2020 Author Share Posted October 7, 2020 Code that gets errors int iIndex2 = NPCScript.Outfits.LengthOutFitsList = New String[128]While(iIndex2 >= 0) OutFitsList[iIndex2] = NPCScript.Outfits[iIndex2].GetName() iIndex2 -= 1EndWhile And as I said I can compile it but only using tools like Papyrus Compiler App As for the in editor error message: Error on line 2115: 'OUTFIT' does not have a function/event called 'GetName' I should also mention that my script worked perfectly fine before reinstalling SSE. And yes I did launch the game and generate the INI Files Link to comment Share on other sites More sharing options...
ArrowFX Posted October 7, 2020 Author Share Posted October 7, 2020 So I fixed it. Redownloaded everything and now it works. So I guess I had a corrupted file or smt. Link to comment Share on other sites More sharing options...
Recommended Posts