SYNOPSIS

object load_object( string name)

DESCRIPTION

Load the object from the file name (which can not be empty) and return it. If the object already exists, just return it.

This efun can be used only to load blueprints; for clones, use clone_object(E).

If strict euids are enforced, the cloning object must have a non-zero euid.

USAGE

Update and reload the standard player object:

destruct(find_object("/std/player"));
load_object("/std/player");

HISTORY

  • introduced (3.2.6)
  • changed (3.3.716) – requires that name is not empty.