load_object

ldmud-3.3.719/doc/efun/load_object · 692 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

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
        the efun clone_object().

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

EXAMPLE
        // Update and reload the standard player object
        destruct(find_object("/std/player"));
        load_object("/std/player");

HISTORY
        Introduced in LDMud 3.2.6.
        LDMud 3.3.716/3.4.3 requires that the <name> is not empty.

SEE ALSO
        clone_object(E)

Site Stats

Snippets: 1791
Codebases: 571