Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > remove_exit

API Function: remove_exit

Summary:
removes an exit from a room

Defined In LPC Object:
/usr/common/sys/exitd.c

Prototype:
void remove_exit(object room, object exit)

Can Be Called By:
System, Common, Game

Description:

Removes a specified exit from the room in question. This will remove the exit from the list of exits, but will not destroy its associated DGD object.

Return Value:

None.

Errors:
If the room doesn't contain that exit, an error will occur.

See Also:
clear_exit , clear_all_exits , add_twoway_exit_between