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

Report bugs, bug fixes and workarounds here.
Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

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

Post #1by don » 20.07.2003, 14:01

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?

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 20.07.2003, 19:23

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

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #3by chris » 20.07.2003, 19:24

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
Last edited by chris on 20.07.2003, 22:01, edited 1 time in total.

Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #4by don » 20.07.2003, 20:42

Good idea Chris.

Done.


Return to “Bugs”