very confuzing global variable and startup scripts
I have 2 script inside startup!
in one of them I have
rollout GroupOperations "Groups"
global disableselectog = 1
In another script also from startup I have
and it says - undefined!
It is not because it is read later, because I use this value even in a button!
If I get the script print disableselectog and press CTRL+E - then it works, or if I get this script and drop on max then it reads this value!
Why when it runs by itself from startup it says undefined, but If I drag to max it finds the value of global variable?