coldfire Posted January 3, 2010 Share Posted January 3, 2010 I have just recently started using the new single state setup and after loading a model in the editor, I create a script for the model and place 'require("scripts/class")' in it and the properties still do not show up. I have also tried dofile("scripts/class") with no success. Is there something else that needs to be added now with the new system? I've already taken a look at some of the include scripts, but they all seem to use the require method and they work fine. Thanks in advance. Randy Quote AMD 64 X2 3800+ | 3G DDR2 667 | Windows 7 Ultimate 64 Bit | Nvidia Geforce 9800 GT 512MB DDR3 Link to comment Share on other sites More sharing options...
Marleys Ghost Posted January 3, 2010 Share Posted January 3, 2010 Try: require("scripts/class") local class=CreateClass(...) Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
coldfire Posted January 3, 2010 Author Share Posted January 3, 2010 Awesome that did the trick. Still getting used to lua and thought that was only needed for adding new properties thanks for the help Marley. Quote AMD 64 X2 3800+ | 3G DDR2 667 | Windows 7 Ultimate 64 Bit | Nvidia Geforce 9800 GT 512MB DDR3 Link to comment Share on other sites More sharing options...
Marleys Ghost Posted January 3, 2010 Share Posted January 3, 2010 Awesome that did the trick. Still getting used to lua and thought that was only needed for adding new properties thanks for the help Marley. No problems Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" 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.