Zesstra | 064567e | 2018-12-05 23:44:47 +0100 | [diff] [blame] | 1 | SYNOPSIS |
| 2 | object* objects() |
| 3 | object* objects(int pos) |
| 4 | object* objects(int pos, int num) |
| 5 | object* objects(object prev_ob) |
| 6 | object* objects(object prev_ob, int num) |
| 7 | |
| 8 | DESCRIPTION |
| 9 | Returns an array of objects from the global object list. |
| 10 | |
| 11 | The first three forms will return objects starting |
| 12 | with position <pos> (or the first object, if <pos> was |
| 13 | not given). |
| 14 | |
| 15 | The fourth and fifth form will start with the object |
| 16 | following <prev_ob> in the object list. |
| 17 | |
| 18 | The efun will return at most <num> objects if <num> was |
| 19 | given, otherwise all remaining objects. If the number of |
| 20 | objects exceeds the maximum array size, an error is thrown. |
| 21 | |
| 22 | HISTORY |
| 23 | Introduced in LDMud 3.5.0. |
| 24 | |
| 25 | SEE ALSO |
| 26 | dump_driver_info(E), driver_info(E), object_info(E) |