Phantasmal Site > Phantasmal API > API Listing > clear_exit
API Function: clear_exit
- Summary:
- delete an exit object
- Defined In LPC Object:
- /usr/common/sys/exitd.c
- Prototype:
- void clear_exit(object exit)
- Can Be Called By:
- System, Common, Game
- Description:
-
Destructs a specified exit. If the exit is two-way, the
corresponding exit in the opposite direction is destructed
as well. Note that this doesn't remove the exit from the
room database. You should separately remove the exit, and
do so before its destruction. See remove_exit.
- Return Value:
-
None.
- Errors:
- Normally none.
- See Also:
- remove_exit ,
clear_all_exits ,
add_twoway_exit_between
|