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
david
Newbie


Joined: 28 Dec 2002
Posts: 3
Location: Germany

PostPosted: Sat Dec 28, 2002 6:56 pm   

Mapper - Alternative moving methods
 
I have a problem concerning alternative methods of moving around and making the mapper recognize those...
Say for example my character has the ability to sneak around unseen and I use it by doing "sneak west", which in case it's successfull takes me one step west. If it's successfull, I get the message "You successfully sneak away from prying eyes", if I'm not successfull I get "Your concentration is corrupted and you are unable to sneak" (which means I'm still in the same room).
Notice that in neither of those message the direction in which I tried to/did sneak to gets mentioned so I will need to catch that direction from my input I guess...

Now what I'd like to do is quite simply (heh) make my position on the map move one step west if I was sneaking west successfuly, if I failed to sneak it should of course remain where it was.

One possible way I thought of was to create a sneak alias that takes the direction as an argument and then sends the proper sneak command to the MUD, which would get me around the problem that the messages do not include the sneaking direction.
The remaining problem for me is that I can't seem to be able to move my position on the map other than using the standard moving commands, configuring custom movement directions didn't work either for me since the rooms on the map are linked with the normal moving directions and I'd rather not create a separate exit for every single room (the map is pretty large with like 3000+ rooms in it)

...blablabla HELP ;)
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Dec 28, 2002 9:16 pm   
 
#MOVE

LightBulb
Senior Member
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Dec 28, 2002 11:31 pm   
 
quote:

#MOVE

LightBulb
Senior Member



And #NODIR, for the failed attempt

li'l shmoe of Dragon's Gate MUD
Reply with quote
Spiffy
Newbie


Joined: 23 Dec 2002
Posts: 7

PostPosted: Tue Dec 31, 2002 11:09 am   
 
Somewhat related to this..

Is there a way to combine #MOVE or #MAP with path directions? Like, #move 4e4n4w4s?

I play on Aardwolf, and want to be able to use the nifty run command implemented there with my maps. So I figured I'd create an

#alias run {~run %1;#move %1}

.. cept it doesn't work. Is there a different command to do this? Did I miss something in the zMUD help files? Or doesn't one exist?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Dec 31, 2002 1:01 pm   
 
#ALIAS run {~run %1;#FORALL %pathexpand("%1") {#MOVE %i}}

Kjata
Reply with quote
Spiffy
Newbie


Joined: 23 Dec 2002
Posts: 7

PostPosted: Tue Dec 31, 2002 1:11 pm   
 
*swoon*

Awesome! Thanks. :)
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