|
wrym Magician
Joined: 06 Jul 2007 Posts: 349 Location: The big palace, My own lil world
|
Posted: Thu Mar 05, 2009 11:43 pm
#prompt and speedmenus and scoping |
procedure
Code: |
1) start cmud, open untitled session
2) from package editor add new package test, make sure untitled and test package are enabled for each other
3) add speed menu testmenu with script '#prompt testvar "value to assign to testvar"'
4) from untitled screen right click click testmenu, at prompt type in something
5) in package editor, notice testvar location, the test package, NOT the main session untitled
6) move testvar to main session
7) repeat step 4, notice previous value of @testvar is not in prompt window
|
At this point I have had 3 things happen
1) nothing, testvar in main session doesn't change
2) testvar in main session changes
3) duplicate testvar in package with speedmenu/prompt
I have tried using #prompt from alias's and have not noticed this problem |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Mar 06, 2009 8:15 pm |
Sorry this didn't make it into the 3.04 release, but it's been added to the bug list.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|