Russkiparen Posted July 21, 2022 Share Posted July 21, 2022 Hi! Trying modding for myself so i'm kinda new to it. The POINT Whenever I try to compile simple script Scriptname Testing extends Quest Event OnInit() Debug.MessageBox('Hello, world')EndEvent I got errors Starting 1 compile threads for 1 files...Compiling "Testing"...D:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\temp\Testing.psc(4,18): no viable alternative at character '''D:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\temp\Testing.psc(4,31): no viable alternative at character '''No output generated for Testing, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on Testing When I open script in Note++ it looks like thisъWАЮ bЩ—І TestMyScript.psc Admin ADMIN-PC TestMyScript GetState GotoState conditional hidden Quest None 9Function that switches this object to the specified state newState String ::NoneVar onEndState self ::State onBeginState 'Function that returns the current state bЩ—° k What might be the problem here? Thanks! Link to comment Share on other sites More sharing options...
IsharaMeradin Posted July 21, 2022 Share Posted July 21, 2022 You are using a single quote rather than a double quote. Link to comment Share on other sites More sharing options...
Russkiparen Posted July 21, 2022 Author Share Posted July 21, 2022 (edited) You are using a single quote rather than a double quote.Huh, first time wrote double quotes got same error, now its working. Thanks mate! Edited July 21, 2022 by Russkiparen Link to comment Share on other sites More sharing options...
Recommended Posts