I'm trying to pass a selection from multiple functions to a single function and have that function manip the forward vars. But it's not working..
here is pseudocode:
--local vars local bodyMesh local cloakMesh --main func function grabObjs objs = ( objs = pickobject count:#multiple; ) grabObjs bodyMesh grabObjs cloakMesh print bodymesh -- This returns undefined! ..Why?
So this doesn't make sense to me. isn't the bodyMesh passed to the function as an argument? shouldn't the objs object point back to the object passed into the function? Why is it undefined? I must be missing something, a scoping issue, or a deep/shallow reference issue, etc..
Any light that can be shed on the subject would be greatly appreciated!