|
david Newbie
Joined: 28 Dec 2002 Posts: 3 Location: Germany
|
Posted: 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 ;) |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Dec 28, 2002 9:16 pm |
#MOVE
LightBulb
Senior Member |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Spiffy Newbie
Joined: 23 Dec 2002 Posts: 7
|
Posted: 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? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Dec 31, 2002 1:01 pm |
#ALIAS run {~run %1;#FORALL %pathexpand("%1") {#MOVE %i}}
Kjata |
|
|
|
Spiffy Newbie
Joined: 23 Dec 2002 Posts: 7
|
Posted: Tue Dec 31, 2002 1:11 pm |
*swoon*
Awesome! Thanks. :) |
|
|
|
|
|