PDA

View Full Version : expressions help



manic
03-14-2004, 05:52 AM
I have set up a lighting rig using expressions and sliders (using a tutorial).

I would like to be able to change the expression to add a delay to the changes depending on the number in the name of the light.

This is what I am using at the moment

[ControlSkyLight.Intensity]

All the lights are numbered SkyLight (1) SkyLight (2) etc...

Is there any way of using this number in Frame or Time?

Also is there anywhere with a list of the operaters (Time...) and more indepth tutorials?

Thanks in advance

manic
03-17-2004, 11:39 PM
guess that is a no then.

:confused:

Mylenium
03-17-2004, 11:56 PM
You cannot use the numbers in this manner... They are generated by LW and are not "unique" in a programming sense. If you want such functionality, you have to name your lights objects etc. explicitely e.g. Light_1, Light_2 etc..

Mylenium

manic
03-19-2004, 03:53 PM
Thanks for that I will give it a try.

Does any one know of any reference material for expressions?