| Phantasmal Site > Phantasmal API > API Listing > segments_in_zone  API Function: segments_in_zone 
   Summary:  return the segments that comprise a zone
 
 
 Defined In LPC Object:  /usr/common/sys/mapd.c 
 
 Prototype:  	int *segments_in_zone(int zone_number)
 
 
 Can Be Called By:  	System, Common, Game
 
 
 Description:   	Every zone in Phantasmal consists of one or more segments of
	rooms.  This function returns the list of MapD segments that
	are part of the specified zone number.   Return Value: 	An array of integer segment numbers, or nil.   Errors: 	Normally none.
 
 
 See Also:  add_room_to_zone ,
   rooms_in_segment ,
   rooms_in_zone    |