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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
kaeus
Newbie


Joined: 27 Oct 2001
Posts: 3
Location: USA

PostPosted: Sat Sep 06, 2008 4:59 pm   

Problem and Question
 
Well, first my problem.

I currently have a lot of buttons for my main window. Unfortunately, when I use another window in the same session, it acquires all those buttons as well.

I dont know if its a bug, but here is my screen.



My question would be, is there any way to capture input to a separate window?

I'm currently using an oninput trigger that looks like this


Code:

#IF (@input=1)
{
  #GAG
  #NOINPUT
  #ECHO No Input: %1 STOPPED
}
{
  #CAP input
  #GAG
}


I want the input to be gagged from the main window and put to the other window. Also, will this capture input from my triggers and buttons?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sun Sep 07, 2008 5:16 pm   
 
Sounds like you have your buttons within a global Module. If you only want the buttons within a single window, then only create the buttons within that particular window. If you have buttons in another package, then you need to go to each of your window objects in the settings editor and enable or disable the package with the buttons for each window.

So, we need to know a lot more about the package structure you are using along with your windows.
Reply with quote
kaeus
Newbie


Joined: 27 Oct 2001
Posts: 3
Location: USA

PostPosted: Sun Sep 07, 2008 5:23 pm   
 
Well, the buttons are within packages, but they are not global. The odd thing is the windows don't have those packages enabled at all. The packages dont even show up as being there.

Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Sep 07, 2008 7:50 pm   
 
According to that screen shot you have the buttons defined in a module. That module is part of the same package as both your windows which is why they show up in both windows.

I would suggest creating a new package, from PE menu "File|New Package". Then drag the Input window into that package. Finally set the Buttons module to Local, and adjust any of the other modules as needed.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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