Rick Posted March 7, 2012 Posted March 7, 2012 I get this every so often and I forget what I do to make it work. At the top of my main game script I often want to load my own scripts that I made. I know sometimes it works because that Scripts/Timer is mine and it loads fine right now (I made it months ago), but then I create a new file and try to add it "/Scripts/GUI/GUIManager" and now when I run the editor it says can't open "Scripts/GUI/GUIManager". /Scripts/GUI/GUIManager.lua exists in my games path At the top of my main game script require("Scripts/table") require("Scripts/Timer") require("Scripts/GUI/GUIManager") Quote
diedir Posted March 7, 2012 Posted March 7, 2012 are you sure your file is not "GUIManager.lua.TXT" ? or try to move it elsewhere more simple to be sure Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11
Rick Posted March 7, 2012 Author Posted March 7, 2012 So actually that didn't work. It worked because I had that same file in my leadwerks directory. Can't I make the editor read the scripts folder under my own game directory? I would think the path options would do that and I have that set to the Scripts folder of my game directory. Quote
diedir Posted March 7, 2012 Posted March 7, 2012 i don't think so, the abstract path read all the "leadwerks" folders/sub/folders Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.