A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/set_exits
Name: set_exits - set exit directions and rooms in a room
Syntax:
#include <room2.h>
set_exits(string *exit_arr)
Description:
The set_exits call sets the exit directions and exit rooms in a room.
The single argument is an array of even length with a filename and
a direction string after each other.
The exit directions are displayed in the obvious exits line, just
after the long description, unless set otherwise, see etxd_room.
Normal directions are "north", "south", "east", "west", "up" and
"down", but any string can be used to specify a direction.
The filename doesn't need to have a leading slash.
Return value: none
Examples:
set_exits( ({ "room/workroom", "out", "room/post", "post" }) );
See also:
This page was generated in LPC
Imprint / Impressum