Tim Parsons
New member
As the title says I'm trying to write a simple Lscript and I've got a question. So far I've got a simple script that will select my environment light and toggle the "Effect Specular". I got that to work pretty easy but I want it to select the previous selected item once it selects the environment light and does its thing. I thought it would be as simple as this:
@warnings
generic
{
SelectItem("EnvLight");
AffectSpecular();
SelectPreviousSelectedItem();
}
but to avail. Any help would be appreciated.
@warnings
generic
{
SelectItem("EnvLight");
AffectSpecular();
SelectPreviousSelectedItem();
}
but to avail. Any help would be appreciated.