darrenc182 Posted July 29, 2010 Share Posted July 29, 2010 I am wondering how I can get rid of a message box that pops up when loading a scene in 2.32 and 2.4. The message box says can't open scripts/class. I do not use the leadwerks built in lua script and therefore I don't need any scripts made by leadwerks. Is there anyway to disable it or turn off? Quote Intel 2nd Generation i5 Quad Core Running at 3.30GHz. 8GB RAM, GeForce GTX 460 1024MB DDR5. Link to comment Share on other sites More sharing options...
macklebee Posted July 29, 2010 Share Posted July 29, 2010 sounds like you have something trying to load the script... any of the normal entities that come with LE (lights, atmosphere, emitters) all call this script. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
darrenc182 Posted July 29, 2010 Author Share Posted July 29, 2010 I'm not calling any of those scripts in my code. Does the engine call those scripts automatically and load them if the script is found? Quote Intel 2nd Generation i5 Quad Core Running at 3.30GHz. 8GB RAM, GeForce GTX 460 1024MB DDR5. Link to comment Share on other sites More sharing options...
macklebee Posted July 29, 2010 Share Posted July 29, 2010 you don't have to call it... For example: if you are using the standard directional light object as found in the editor, it has a lua script associated with it that sets its properties. Inside that script, the class.lua script is being called. Thats why I am saying if you are using any of the standard entities from the editor it will try to load class.lua. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
darrenc182 Posted July 29, 2010 Author Share Posted July 29, 2010 Thanks macklebee. I was able to get rid of that message box. Quote Intel 2nd Generation i5 Quad Core Running at 3.30GHz. 8GB RAM, GeForce GTX 460 1024MB DDR5. Link to comment Share on other sites More sharing options...
macklebee Posted July 29, 2010 Share Posted July 29, 2010 glad to help Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Dan Posted September 18, 2011 Share Posted September 18, 2011 Thanks macklebee. I was able to get rid of that message box. I'm getting the same thing since upgrading. How did you get rid of it? Quote Windows XP SP3 Intel Core2 Extreme 3GHz 2GB DDR2 RAM 2x NVIDIA GeForce GTX 280 in SLI Link to comment Share on other sites More sharing options...
macklebee Posted September 18, 2011 Share Posted September 18, 2011 Place the Scripts folder into your working directory if you are using lua or do not use entities in the editor that have scripts if you are not using lua. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Dan Posted September 18, 2011 Share Posted September 18, 2011 Place the Scripts folder into your working directory if you are using lua or do not use entities in the editor that have scripts if you are not using lua. Worked like a charm Quote Windows XP SP3 Intel Core2 Extreme 3GHz 2GB DDR2 RAM 2x NVIDIA GeForce GTX 280 in SLI Link to comment Share on other sites More sharing options...
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.