L B Posted December 25, 2009 Share Posted December 25, 2009 Trying to set the color of a light for my lamp post in the new single-state LUA, apparently not working where it did before: require("scripts/class") local class=CreateClass(...) function class:CreateObject(model) local object=self.super:CreateObject(model) object.light=CreatePointLight(7,model) object.light:SetColor(Vec4(1, 0, 1, 1)) end All white to me. No problem after all. Don't know what happened. Started working for no real reason. Quote Link to comment Share on other sites More sharing options...
TylerH Posted December 25, 2009 Share Posted December 25, 2009 I am getting sick of this. We need an explanation for all this "bugs occur and fix randomly" and such. 1 1 Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
L B Posted December 25, 2009 Author Share Posted December 25, 2009 Actually, it works in one of my maps, not the other. Quote Link to comment Share on other sites More sharing options...
TylerH Posted December 26, 2009 Share Posted December 26, 2009 Ah, ok. But again, I think Josh needs to look into this more. There is obviously something wrong. 1 1 Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- 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.