MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | object load_object(string name) |
| 3 | |
| 4 | DESCRIPTION |
| 5 | Load the object from the file <name> and return it. If the |
| 6 | object already exists, just return it. |
| 7 | |
| 8 | This efun can be used only to load blueprints - for clones, use |
| 9 | the efun clone_object(). |
| 10 | |
| 11 | If strict euids are enforced, the cloning object must have |
| 12 | a non-zero euid. |
| 13 | |
| 14 | EXAMPLE |
| 15 | // Update and reload the standard player object |
| 16 | destruct(find_object("/std/player")); |
| 17 | load_object("/std/player"); |
| 18 | |
| 19 | HISTORY |
| 20 | Introduced in LDMud 3.2.6. |
| 21 | |
| 22 | SEE ALSO |
| 23 | clone_object(E) |