Page 2 of 2
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 4:58 pm
by LordGarth
none of the codes worked for the lightning
LG
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 6:49 pm
by Montis
LordGarth wrote:none of the codes worked for the lightning
LG
you have to put my code into the objects.lua, not in a script entity.
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 7:01 pm
by LordGarth
I did and it came up with errors. editor had problems with vector code. Says it expected a string.
LG
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 7:33 pm
by LordGarth
and now the whole file is corrupt somehow.
I delete that one cloneobject and how everything below where i had that is corrupt
says found number expected string and there is nothing wrong with the code I have put in until i used this vector code for the light.
LG
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 7:46 pm
by LordGarth
Now i have to retype my whole items lists
Great
LG
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Tue Sep 18, 2012 7:55 pm
by Montis
if you send me your files I can probably fix the error for you. also have you checked it in the new beta version?
Re: Change the colour of lights? expressing 3d vector in lua
Posted: Wed Jul 15, 2015 11:50 pm
by trancelistic
I have tried this. In the editor it does work. However in the game there is no light at all:(
Well its not so important but wanted to say that for me it doesnt work.