Phantasmal Site > Phantasmal API > API Listing > exits_in_segment
API Function: exits_in_segment
- Summary:
- return the exits in a given segment
- Defined In LPC Object:
- /usr/common/sys/exitd.c
- Prototype:
- int *exits_in_segment(int segment_index)
- Can Be Called By:
- System, Common, Game
- Description:
-
Takes a segment index and returns all valid exits within that
segment. That means all exits with numbers between
(segment_index * 100) and (segment_index * 100 + 99).
- Return Value:
-
An array of exits, or nil.
- Errors:
- Normally none.
- See Also:
- get_exit_segments ,
get_all_exits ,
get_exit_by_num
|