Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_from_location

API Function: get_from_location

Summary:
get the location the exit travels from

Defined In LPC Object:
/usr/common/lib/exit.c

Prototype:
object get_from_location(void)

Can Be Called By:
Anybody

Description:

Gets the location the exit leaves from. It is a DGD object for a room.

This function isn't access-protected. You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

The location as a DGD object.

Errors:
Usually none.

See Also:
get_destination