Phantasmal Site > Phantasmal API > API Listing > clear_all_exits
API Function: clear_all_exits
- Summary:
- delete an exit object
- Defined In LPC Object:
- /usr/common/sys/exitd.c
- Prototype:
- void clear_all_exits(object room)
- Can Be Called By:
- System, Common, Game
- Description:
-
Destructs all exits leading from the specified room. Any
two-way exits between this room and another will have their
corresponding return exits destructed as well.
- Return Value:
-
None.
- Errors:
- If the room passed in is nil, an error will occur.
- See Also:
- remove_exit ,
clear_exit ,
add_twoway_exit_between
|