createdialog isnot working
global test Rollout test "cap1" ( Spinner s1 "cap2" ) -- createdialog test rollout test1 "" ( subrollout asdf width:140 height:100 button asd"" on asd pressed do ------does not work (createdialog test) ) createdialog test1 AddSubRollout test1.asdf test
Why does not consist of rollout asd?
Comments
I do not know too much
I do not know too much english
Would you help with code sample or in my code?
its not a subrollout problem
i hope this code to help to see the problem
my recent MAXScripts RSS (archive here)
true my problem is not
true my problem is not subrollout
my problem, new test windowdialog does not open when I press the button asd
What Anubis tried to show you
What Anubis tried to show you is that you can't copy rollouts like this, it's just a pointer to the exact same rollout. Instead of seeing that both
cp.isDisplayed
andtest.isDisplayed
return true when you create dialog using one of them, you can just as well usecp = copy test cp == test -- true
to check that. You'd either have to use rolloutcreator or just define two distinct rollouts yourself.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
I do not know too much
I do not know too much english
Would you help with code sample or in my code?