This function returns an associative array of pointers to all the objects currently in the given room. The list is indexed by consecutive integers counting from 1 onward. If no parameter is used, then the room 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 room, character, or object; a keyword for a mob, or object. If the entity is valid then the room in which the entity resides will be searched. |