1- I need both the rollouts to interact with eachother. I need buttons in the 'r1' to call functions in the 'r2' and also need functions in the 'r2' to access functions and/or variables in the 'r1'. if you are going to tell me "just make the function/variable a global one", please specify where and how, becouse I've tried everywhere and just didn't get it to work.
2- Is there a way to call a function that is further down in my code? I have seen it working in a macroscript (eg. the script for the "Parameter Editor") where they first declare the functions name as a normal variable, call it several times further down in the code and then they write the actual function. It seems to work well for macroscripts but I can't get it to work with my "scripted plugin modifier".