Strob
08-14-2008, 07:43 PM
Hi,
I am not very experienced in maxscript so maybe I don't do the right thing but I try to make a script within which I would change the state of the afterburn object shadows check box (because after burn light properties can't be changed in the light lister).
But I just try to type exactly what the listener gives me when I do that action in th UI and I get a system exception:
$Spot01.UseObjectShadows = off
** system exception **
And it does not work neither when I try to make a loop like this:
for i in $ do
i.UseObjectShadows = off
-- Error occurred in i loop
-- Frame:
-- i: $Spot02
-- called in i loop
-- Frame:
-- i: $Spot02
** system exception **
Could any one explain me what I'm doing wrong please?
I am not very experienced in maxscript so maybe I don't do the right thing but I try to make a script within which I would change the state of the afterburn object shadows check box (because after burn light properties can't be changed in the light lister).
But I just try to type exactly what the listener gives me when I do that action in th UI and I get a system exception:
$Spot01.UseObjectShadows = off
** system exception **
And it does not work neither when I try to make a loop like this:
for i in $ do
i.UseObjectShadows = off
-- Error occurred in i loop
-- Frame:
-- i: $Spot02
-- called in i loop
-- Frame:
-- i: $Spot02
** system exception **
Could any one explain me what I'm doing wrong please?
