Page 1 of 1

131p6 - .cel 2 cmds 2 set "ambient light"

Posted: 20.07.2003, 14:01
by don
Ver 1.3.1 p6
.cel scripting

There are two commands to set Ambient Light:

Code: Select all

 set { name "AmbientLightLevel" value x.xx }
 
 setambientlight { brightness x.xx }

We probably only need one, yes?

Posted: 20.07.2003, 19:23
by chris
Yes, there should be only one, but I think I'll leave things the way they are just in case someone's using setambientlight. I added set after setambientlight when I realized that a single set command could avoid a proliferation of special-case setXXX commands. But setambientlight was grandfathered in :)

--Chris

Posted: 20.07.2003, 19:24
by chris
Don,

In your script guide, can I suggest that you not bother documenting setambientlight? Or at least, put it in a section dedicated to deprecated commands? Its use is superceded by the more general set command.

--Chris

Posted: 20.07.2003, 20:42
by don
Good idea Chris.

Done.