MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS: |
| 2 | object find_object(string str) |
| 3 | |
| 4 | DESCRIPTION: |
| 5 | Find an object with the object_name str. If the object isn't loaded, |
| 6 | it will not be found. |
| 7 | |
| 8 | EXAMPLE: |
| 9 | object obj; |
| 10 | obj = find_object("std/thing"); |
| 11 | obj = find_object("std/thing.c"); |
| 12 | obj = find_object("/std/thing"); |
| 13 | obj = find_object("/std/thing.c"); |
| 14 | |
| 15 | All four statements are equal. |
| 16 | |
| 17 | obj = find_object("/std/thing#42"); |
| 18 | |
| 19 | returns the clone whose object_name is "std/thing#42", if |
| 20 | it exists. |
| 21 | |
| 22 | SEE ALSO: |
| 23 | find_living(E), find_player(E), object_name(E) |