|
virtuous Wanderer
Joined: 08 Jan 2003 Posts: 60
|
Posted: 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? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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.
|
|
|
|
|
|
|
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
|
|