Syntax: redit exit <direction> [vnum] [exflags] [key] [keyword(s)]
Syntax: redit bexit <direction> [vnum] [exflags] [key] [keyword(s)]
The "redit exit" command is used to create, modify and remove exits in a room.
The "redit bexit" command is the same as "redit exit", but adds or edits an exit in both directions.
If only "redit b/exit <direction>" is specified, the exit will be removed.
(The 'key' field is optional when specifying keywords. All other fields require the previous field to be set.)
SMAUG supports having more than one exit in the same direction.
If an exit leading north exists, and you would like add another one, use the plus sign '+' prior to the direction.
Ex. redit exit +n 3001 - Adds another exit north to room 3001
To modify an extra exit or to remove it, you'll have to refer to it by number.
Ex. redit exit #2 3002 - Change the second exit to go to room 3002
To identify the number of an exit, type "rstat".
For someone to be able to use the second north exit, you have to set a keyword(s), and It is also a good idea to set the "exflags hidden" for any special exit so that it looks nicer with to pc's with autoexits set to on.
When making an exit, the direction can be specified as a number value or as a character.
Click HERE for direction values.
The vnum is room number into which the exit leads.
Exit flags are used to assign properties to an exit. When used with "redit exit" or "redit bexit" the bitvector is used. If multiple flags are assigned then the bitvectors are added together, this is called a stacked bitvector.
Click HERE for the exflags.
Some examples:
3 = a closed door
7 = a closed and locked door
11 = a closed secret door
15 = a closed, locked and secret door
A door with exflags closed and locked (bitvector 7) requires a key to open. A key is an object. This value is the vnum of the key.
Keywords are words used to refer to the door or exit.
Click HERE for more on keywords
redit exit n 3001 - Creates an exit north to room 3001
redit bexit n 3001 - Creates an exit north to room 3001 and in 3001 creates an exit south to current room
redit exit n 3001 3 gate - Changes the exit n to have a closed "gate"
redit exit n 3001 3 15 gate - Changes the gate to allow a key (vnum 15)
redit exit n - Removes the north exit
(Back to Room Field Values) (Back to Room Checklist) (Back to Text Editing)