|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Nov 06, 2007 8:55 am
[2.10] Buttons and Expression triggers with global variables |
Right now if a global variable is changed in one window other windows only seem to partially know about it. I checked a button caption, an expression trigger, and a status bar. Only the status bar updated, when all 3 should have worked.
Procedure
1. Launch CMud
2. Close Sessions window (ESC)
3. Enter at the command line
Code: |
#MODULE pub;#VAR a 0;#CLASS 0;#WINDOW test;:test:#TRIGGER (@a) {#SHOW fired};:test:#BUTTON 1 {@a} {};:test:#STATUS {@a} |
4. Turn on the status bar for the test window (sorry couldn't do that in the single paste)
5. Enter at the command line
You will see the status bar updates, although nothing else does. I really don't want to use the status bar to build expression triggers...it could be fun though and would be next to impossible to debug. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Nov 06, 2007 2:52 pm |
Confirmed. The button updates when you click it.
|
|
_________________ Asati di tempari! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Nov 06, 2007 5:41 pm |
Confirmed and added to bug list. I think this is related to that other post about the button update messages going to the wrong window.
|
|
|
|
|
|