Notifications
Clear all

[Closed] Maxscript Bug? light.castShadows property?

Hi,

For some reason, if I make any light, and in the listener run:

$.castShadows

to check the value of the checkbox, it doesnt seem to get updated as I toggle the checkbox in the modifer panel.

I check the box, run the command, it might return ‘true’, I uncheck it, still returns ‘true’, when it’s clearly off!

Using max 9. Any ideas?

Note, other properties such as $.enabled work correctly.

1 Reply

Ah, false alarm, sorry.
As the docs say, I have to use <light>.baseObject.castShadows.