 |
wmiller8 Newbie
Joined: 01 Mar 2009 Posts: 3
|
Posted: Wed Mar 04, 2009 1:29 am
Stumped Quickly |
So, I just purchused Cmud... and started reading the manual. Mildly intimidating. However, i figured it'd work best if i did a series of things and tried to figure them out, so I just started reading and doing things as i go. Then i saw something done with wintin, completely unrelated, http://images4u.com/will/spelltracker.jpg and i said wow, what a nifty idea. A window with clickables to turn things on and off, and eventually put more into the window as I learn. So far I've had little luck with this subject, #Makewindow seems to be very limited, I don't see a way to actually put anything but the mud text into the window, of course, that's just the manual. Hate to give up so easily, but Is there some material I'm not seeing that I should be reading up on?
Thanks.
Link Fixed, it was including the , in the url. |
|
Last edited by wmiller8 on Wed Mar 04, 2009 2:39 am; edited 1 time in total |
|
|
 |
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Wed Mar 04, 2009 1:48 am |
That's actually really really easy, you can have a setup like that with status window. Window -> Status window, then right click on it and put whatever variables/ect you want in there.
|
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Mar 04, 2009 2:37 am |
I'm getting a 404 on that image, but there're a number of ways of tackling this problem - the status window is probably the simplest for displaying data, a "real" window would be better for interacting via MXP links, which is what I assume is going on in your image, from your description. Printing something in a window is as simple as doing #window windowname message or :windowname:#say message from the command line. This would probably be simpler than using the status window, which requires you to create status window objects via the package editor.
Finally, you might also want to take a look at buttons, which you can do various interesting things with. You can create them from the package editor's GUI.
I know that all this sounds very general, but you've only given a very general description and that, coupled with the lack of the image, means I can't give very specific help. |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Mar 04, 2009 4:56 pm |
You create links using mxp. For example, for the status window, you can go into the Package Editor (click the Settings button), then select New Status Bar option in the New toolbar menu. Enter a name (like "Armor") and in the Value field, enter an MXP SEND tag like this:
| Code: |
| Armor: <SEND "whatevercommand">Down</SEND> |
then open the More options at the bottom and uncheck the "Show in status bar" and check the "Show in status window" option. Then enable the status window back in the main MUD window using the Window/Status window command. When you click the "down" link in the status window, the "whatevercommand" will be sent to the MUD.
But Fang is correct that you probably want to use buttons instead. Buttons are something WinTin doesn't have, so that's why they needed to use text links. But in CMUD you can create a toggle button (or multistate button) that sends commands to the MUD and also shows the state within the button caption. Take a look at the %button_intro help topic or post more questions here. |
|
|
|
 |
|
|
|
|
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
|
|