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


Joined: 15 Dec 2001
Posts: 19
Location: USA

PostPosted: Tue Jan 15, 2002 12:31 pm   

Path direction help needed
 
I created a path called oly and want to go 3 north 2 east and 1 northeast 2 southwest. The problem is zmud doesn't go north east and southwest, it goes north, east south west...how do I make it go ne,sw,..etc?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Jan 15, 2002 5:29 pm   
 
Directions

This Settings Editor dialog page allows you to edit the properties of a room exit or Direction.

Each direction must be assigned to a single speedwalk character, listed in the Direction field. In order to reverse walk a path, you must also specify the speedwalk character of the reverse direction in the Reverse field. In the Commands field, enter the MUD commands that are used to specify the direction. If you want more than one command to trigger the given direction, separate the multiple commands with a vertical bar (|
). For example, if you want the commands n and north and nor to trigger the n direction, put n|north|nor in the Command field. In the Map field, select the mapper direction that corresponds to this MUD direction.

Like say typing -
NE makes you go northeast
SW makes you go southwest

make a new Dir in the settings editor
For Northeast
direction=q
reverse=a
comand=NE

For SouthWest
dir=a
revers=q
comand=SW

Tip: Sometimes you need to open a door while executing a path. To do this, define a new direction with the character o in both the Char and Reverse Char fields, and then put open door in the Input Field. Now when you are recording a path and you enter open door, the character o will be added to the path.

Look through help files too.... you get a quicker response :P
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jan 15, 2002 6:57 pm   
 
Unless you've changed things the diagonal directions are in the DirectionsDiag class. Make sure it's enabled.
h = nw
j = ne
k = sw
l = se
So your example would be 3n2ej2k

LightBulb
All scripts untested unless otherwise noted
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Jan 15, 2002 7:03 pm   
 
Yeah thats whatelse I was gonna tell ya, I was just to tired to look for it:
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