AggrorJorn Posted March 27, 2013 Share Posted March 27, 2013 The editor crashes when trying to create a material property. No matter what you try: Script.material= nill --material "a Material" Script.material= --material "a Material" Script.material= "" --material "a Material" Script.material= 0 --material "a Material" Link to comment Share on other sites More sharing options...
Josh Posted April 2, 2013 Share Posted April 2, 2013 "Material" isn't a supported data type, but the code should just print an error message, not generate a runtime error. That's why it crashes. Fixed for the next update. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 2, 2013 Author Share Posted April 2, 2013 Thank you. The documentation atm lists material as a possible data type. http://www.leadwerks.com/werkspace/page/documentation/_/user-guide/object-scripts-r631 Link to comment Share on other sites More sharing options...
Recommended Posts