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


Joined: 07 May 2007
Posts: 19

PostPosted: Wed Aug 01, 2007 11:18 am   

#PATH questions
 
Hi,

I have a couple of questions about paths, I've tried searching the zMUD helpfiles but couldn't find anything about these

First: say I have a path named "test" and the path is n,e,s,w ...after I go n,e, there is a 'Centipede' here, and I want to kill it...How can I make it so that this path stops at this centipede, and then I want to it to 'continue the path' (s,w) or simply go back (w,s)...I don't know what the commands for these are

Second: I have directions such as sw,ne,se,sw which when put into a path, zMUD is understanding them as "s,w" for sw, "n,e" for ne...etc., how can I fix that?

Third: how can I edit directions, such as for zMUD to understand that the reverse of the direction 'gate' is also 'gate', or for 'door' is 'out'

Thanks alot in advance, and sorry for the trouble
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Wed Aug 01, 2007 11:39 am   
 
1) Use the SLOW walking method. This'll allow you to use the #pause and #step commands to pause and resume walking, respectively.

2) Paths don't need to be separated by commas - for this reason, paths can't tell the difference between ne (northeast) and ne (north,east). The diagonal directions are represented by hjkl the same was as the normal ones are represented by nesw.

3) You can create new directions the same way you create any new setting. The command is #direction:

#dir do door other
#dir od out other

#dir gg gate other

You can then use d for door, o for out, and g for gate just like you'd use nesw or hjkl in your paths. The "other" part is optional, it defines how exits that use that direction will look on the mapper, if you use it.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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