A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/query_direction
Name: query_direction - get the direction to an exit filename
Syntax:
#include <room2.h>
string query_direction(string filename)
Description:
The query_direction call returns the direction to an exit filename
by searching through the exits array, set with set_exits.
Return value:
If filename is found in the exits array, the appropriate direction
string is returned, else the return value is 0
Examples:
string where;
where=query_direction("players/nobody/workroom");
See also:
This page was generated in LPC
Imprint / Impressum