Notifications
Clear all

[Closed] Simple question about light color

Hi to all!
Sorry for the silliness of this questions, but someone could tell me if there’s a way to assign color to a light (using rgb values) via MAXScript?? And if it does exists… does it still works inside a “with animate on” command??
Thank you very much, bye!

1 Reply

For stuff like this, the easiest thing to do is to enable MacroRecording in the MaxScript listener. Then make a change to an object and see what prints out in the recorder. In this case, it’s ‘$.rgb = color 25 25 25’. And yes, it should work ‘with animate on’.