find_object

lpmud/mudlib/doc/efun/find_object · 363 B

From the archive lpmud-1.4.1-A-r11.tar.gz

Download the archive   « Back to the archive contents

object find_object(name)
string name;

Find the object specified by the name and return its descriptor.  Note that
this will only work if the object already exists, and unlike a command such
as "move_object" it will fail (and return 0) if the specified name has no
currently loaded object.

Example:
object portia;

portia = find_object("players/fred/portia.c");

Site Stats

Snippets: 1791
Codebases: 571