Hi
Im trying add new light to my game. This light must be on player position.
dbMakeLight ( 1 );
dbSetLightRange ( 1, 400 );
dbColorLight ( 1, 0, 250, 0 );
in loop
dbSetPointLight( 1, dbObjectPositionX(2),dbObjectPositionY(2)+50,dbObjectPositionZ(2));
I tried :
dbSetObjectSpecular ( 888,0 );
dbSetNormalizationOn ( );
dbSetObjectSpecularPower ( 888, 70 ) ;
dbSetObjectLight ( 888, 0 ) ;
nr 888 is level number and nr 2 is player number.
I dont know haw to add this light i tried, tried and nothing :/
Please if you can make small sample how to do it
Sorry for my english