Rick Posted October 11, 2010 Share Posted October 11, 2010 I haven't checked the lua files yet, but has anyone added a classname by default to all lua scripts? If so, where did you do it, or does anyone have a modified script that does this? I'm sure it's somewhere in the baseclass.lua or class.lua where you would have to do this, but just wondering if anyone has already done something like this that I could use. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted October 17, 2010 Share Posted October 17, 2010 Where did you see this Rick? I haven't noticed this change but I also can't see any automatic lua code. Quote Link to comment Share on other sites More sharing options...
macklebee Posted October 17, 2010 Share Posted October 17, 2010 do you mean like this? http://leadwerks.com/werkspace/index.php?/topic/857-object-properties/page__view__findpost__p__7499 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...
Rick Posted October 17, 2010 Author Share Posted October 17, 2010 Was thinking along the lines of adding group:AddProperty("Classname", PROPERTY_STRING ) to one of the base scripts so every model would get it. Quote 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.