![]() |
|
Maxscript adding lights. - Printable Version +- Sitni Sati Forums (https://forum.afterworks.com) +-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4) +--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8) +--- Thread: Maxscript adding lights. (/showthread.php?tid=1487) |
Maxscript adding lights. - mikeguy3086 - 01-14-2014 I've been trying to make simple script that will add lights to Fume. Here is a very simple version of it: Code: rf = Omnilight()I just cant get it work. I copy and pasted the function to add lights from the Maxscript documentation. Code: AddLight nodeAdds a lightI can't figure out how to have my button add the light. Any thoughts? Re: Maxscript adding lights. - sitnisati - 01-15-2014 Hello, With FumeFX selected and Omni001 in the scene, it would go like this: $.AddLight $Omni001 I hope this helps. Kresimir Re: Maxscript adding lights. - mikeguy3086 - 01-17-2014 Thanks Kresimir! I was forgetting that "." Re: Maxscript adding lights. - sitnisati - 01-17-2014 You're welcome ! |