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
Spansh2
Beginner


Joined: 11 Apr 2005
Posts: 10

PostPosted: Mon Apr 11, 2005 7:04 am   

Speedwalking to favourites
 
OK I spent an hour searching the forums for something like this.

First, double clicking a favourite doesn't speedwalk to that room, it merely highlights it and moves to that room on the map, so you can click it on the map. You either have to double click on the map, or right click and speedwalk to room, which is very close to remove from favourites, which is annoying.


Secondly, is there any way to either use #WALK to walk to a room you have on favourites (say I have a room with a short of "The Plains" which is set as a favourite with the name of "MyQuestFavourite" I'd like to be able to "#walk MyQuestFavourite" however that doesn't work. Failing that I'd like to be able to look up the roomnum of a favourite, something like #var ThisFavourite %db(%favourites,"MyQuestFavourite").

I spent a while searching the helpfiles too but there's absolutely nothing on favourites. Now I can of course do this by manually opening a connection to the database, however that seems a little wasteful since zmud already has all the info loaded.
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Mon Apr 11, 2005 10:27 am   
 
If you goto in the mapper window, Config... Configuration Settings, then choose speedwalking in the list, you'll find an option you can check "Speedwalk when double-click on room"

that should fix that part for ya, as to the #walk shortname, i never tried setting a shortname with spaces in it as "The Plains"... i would name that "plains" and use #walk plains (i made a "go" alias, #ALIAS go {#walk %1} so as i can just type "go plains"

maybe its getting confused by the multy word shor room name?
Reply with quote
Spansh2
Beginner


Joined: 11 Apr 2005
Posts: 10

PostPosted: Mon Apr 11, 2005 10:44 am   
 
I may be getting mixed up between short name and room name.

It's not so much the shortname, as a favourites, let me have a little play, if I can manually set the shortname (completely independant of mud output) and walk to that, then I can live with that.

However, being able to access favourites using scripts would be nice.
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Mon Apr 11, 2005 11:04 am   
 
when in the mapper and right-click on a room, you can goto the "other" tab, you should find a box titled "Short Name for room" <-- this is where you put a "favorite" name for it... use "#walk favorite_name" to goto or use in scripts... also handy for scripts:

#class Favorites
#ALIAS favorites {
#SHOW Click on a favorite to goto
#SHOW ------------------------------
#SHOW Favorite: The Plains
#SHOW Favorite: Favorite 2
#SHOW Favorite: Favorite 3
#SHOW Favorite: Favorite 4
#SHOW ------------------------------
}
#TRIGGER {Favorite: The Plains} {#SUB {Favorite: <send '#WALK plains'>The Plains</send>}}
#TRIGGER {Favorite: Favorite 2} {#SUB {Favorite: <send '#WALK favorite2'>Favorite 2</send>}}
#TRIGGER {Favorite: Favorite 3} {#SUB {Favorite: <send '#WALK favorite3'>Favorite 3</send>}}
#TRIGGER {Favorite: Favorite 4} {#SUB {Favorite: <send '#WALK favorite4'>Favorite 4</send>}}
#CLASS 0


type favorites, see a "hyperlinked" display of favorites.
Reply with quote
Spansh2
Beginner


Joined: 11 Apr 2005
Posts: 10

PostPosted: Mon Apr 11, 2005 11:31 am   
 
Well, actually the script which uses the walks is already all written (it's a huntbreak script for The Two Towers), it's just using roomvnums which as a programmer seems too much like hardcoding ID's, I'd rather if I remapped an area I had to do it all on the room than on the script. Short name looks like it'll do that, I'll try updating it tonight when I get home.

As for the Speedwalk when double click on room, that is checked, and doubleclicking on the actual map, works fine and you speedwalk there.

I'm more on about doubleclicking on favourites, double clicking on favourite moves the map to that room and highlights it, you can then double click on the map (somewhat cumbersome). The only way to select speedwalk to room direct from the favourites list is to right click and "Speedwalk to room" which is directly above "Remove from favourites" which is annoying. It would be nicer if you couldn't either add to favourites, or remove from favourites, if the map isn't in edit mode, it would make things safer :)
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