View Full Version : ChunksArray birth script
01-04-2007, 09:52 AM
I'm trying the 'birth script' for scripting custom chunks. Used for creating Pflow fragments of objects. Example code is attached. Been referencing these links for help
Trying to modify this line in code to instead of finding objects named "object" in scene would take an array from multilistbox.
global ChunksArray = PFlow_ChunksArray --$Object* as array
Everytime I try this it doesn't work. Is this even possible to use listbox for ChunksArray or does it have to be listed as '$Object*'?
I guess you have to reference your listbox in a other way.
As long as PFlow_ChunksArray isn't a global variable the birthscript cannot access it.
But the rollout needs to be decared global, too.
Don't have the time to look deeper in the examples. Sorry.
01-04-2007, 09:59 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.