Skip to main content

query_dest_dir

Discworld room help

query_dest_dir

Name

query_dest_dir - Returns the destinations and directions.

Syntax

mixed *query_dest_dir();

Description

Returns an array containing just the destinations and directions used to get there. This is useful for monster or whatever that you want to scan a room for exits to leave out of. The array is of the format.

({ direction1, destination1, direction2, destination2, ... })

Example

See also

add_exit