[Closed] Nested Structs
Is this a normal practice used in maxscript projects that are larger and contain several .ms files for organizational purposes?
I’m nesting several structs that are contained in other files and then assigning their functions to variables in the top level struct. I’m doing this so I don’t have to type “nt.input.modKey()” only “nt.modKey()” This is going to be a pain when the amount of functions grows and I have to maintain them and their names in the top level file and the one they actually reside in. What’s the preferred method for creating larger maxscript projects that you want to be in a certain namespace? I really only have experience making smaller stand alone scripts.
Thanks for the help
This is good thread for the start
http://forums.cgsociety.org/showthread.php?f=98&t=1047058&highlight=Structs
Thanks. I came across that thread after my post and it has the answers I was looking for. Sometimes the search function doesn’t work for me on this forum… it just goes to a white page that’s why I made the thread
Instead try…
Google…
“site:forums.cgsociety.org maxscript struct example”