This function returns an associative array of pointers to all the objects currently in the given zone. The list is indexed by consecutive integers counting from 1 onward. If no parameter is used, then the zone in which the script owner resides is used as default. The entity may be one of the following: an explicit room number; a pointer to a zone, room, character, or object; a keyword for a mob, or a keyword for an object. If the entity is valid then the zone for the room in which it resides will be searched.
Note: It is advisable to use a pointer or an explicit room ID. |