Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
virtuous
Wanderer


Joined: 08 Jan 2003
Posts: 60

PostPosted: Mon Mar 31, 2003 5:24 am   

Child Windows Don't Update
 
I have tried numerous things to get a status bar in one window to use variables in another window, even the simplest thing imaginable.

In Top, I create a status bar whose value is "@Body.TestingABC". In Body, I create a variable "TestingABC" and stick values in it. No matter what I do, I cannot get Top's status bar to update unless I go into the settings editor, fake changes to the status bar, and hit Save.

Is there any way to get zMUD to send update commands to all windows upon variable change instead of just the window the variable changed in? Is there any sort of trigger I can make so that when something changes in a window, I can manually call the "UpdateButtons" COM methods of the other windows?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Mar 31, 2003 12:02 pm   
 
The dot notation accessing variables of other window was something Zugg added a while ago to make scripting and multiplaying better. What you have found in this post and your one regarding %arrget are both bugs. To get around this one add %delete(@Update,1,255) to your child window status bar, and use :child:#ADD Update 1 in scripts when you want the bar updated.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net