Phantasmal Site > Phantasmal API > API Listing > get_exit_by_num
API Function: get_exit_by_num
- Summary:
- get an exit by global number
- Defined In LPC Object:
- /usr/common/sys/exitd.c
- Prototype:
- object get_exit_by_num(int num)
- Can Be Called By:
- System, Common, Game
- Description:
-
Takes a number and returns the corresponding exit object,
which may be queried as usual.
- Return Value:
-
An appropriate exit object, or nil.
- Errors:
- If an invalid number is passed in, an error may be returned.
- See Also:
- get_exit_segments ,
get_all_exits ,
exits_in_segment
|