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


Joined: 09 Jul 2008
Posts: 10

PostPosted: Thu Dec 11, 2008 8:33 pm   

Interrupting Speedwalks
 
Hi again, I have another question. I tried searching with a bunch of different queries but can't find anything related to what I need.

Basically, I want to accomplish this: With a full map in the mapper, say I want to go from point A to point B. So I double-click point B, and walk over there. But on the way, there's an item on the ground which I normally have a trigger to pick up. Of course, that fires after the speedwalk is done.

My question is, is there a way to stop the speedwalk and get the item before continuing? Or at least stopping period?

Thanks in advance.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Dec 11, 2008 8:44 pm   
 
Which kind of walking are you using? If you're using fast or safe walking, this isn't possible because all the commands are sent at once (unless your mud has some kind of built-in command queue system, but in that case you're better off asking there than here). If you're using slow walking, you should be able to use the #pause command to temporarily suspend the walk, and #stop to end it completely.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Daarte
Beginner


Joined: 09 Jul 2008
Posts: 10

PostPosted: Thu Dec 11, 2008 8:55 pm   
 
I see, I was afraid of that. But thanks, this will do.

While I'm on the topic, is there a quick way to #walk to every room you have mapped and perform a certain command at each place?

Code:
#loop (@vnum > 0) {#walk @vnum;do this;#add @vnum 1}
seems like it'd work, or is there a better way?
Reply with quote
Daarte
Beginner


Joined: 09 Jul 2008
Posts: 10

PostPosted: Thu Dec 11, 2008 9:05 pm   
 
By the way, just pointing this out in case someone had a similar question to my first one, I just played some more with settings, and if you do map->Config->Configuration Settings->Speedwalking->and set the Step Delay to 200-500. This allows fast speed-walking with enough time to do stuff inbetween, but still is quick. Though definitely not as elegant and pretty as I'd like. =[
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sat Dec 13, 2008 3:23 pm   
 
#call %walkmode(2)
#pause

Do stuff here

#wait 2000
#step
#ok
#call %walkmode(0)
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
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