Simple Light include with wildcards
I am very slowly learning maxscript and would like to add a function to a light utility I created.
I am after 1 button which will create (or merge) a light with my settings, which I can do - but I would like it to add an include list for all objects that contain a keyword.
I am guessing I would need to create an array from the wildcard results and add that to the include list, but I'm having a hard time getting started.
All I have managed so far is:
$Lightname.includeList = testarray
-Using this I get no errors, but I also don't get that array added to my include list.
Any help would be muchly appreciated.
Thanks in advance.