file_name.3

foundation2_fluffos_v1/lib/doc/driver/efuns/objects/file_name.3 · 714 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"get the file name of an object
.TH file_name 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
file_name() - get the file name of an object

.SH SYNOPSIS
string file_name( object ob );

.SH DESCRIPTION
file_name() returns the name of the file from which <ob> was loaded.
If the object is a cloned object, then file_name() will not be an
actual file on disk, but will be the name of the file from which the
object was originally cloned, appended with an octothorpe (#) and the
object instance number.  Object instance numbers start at 0 when the
game is booted, and increase by one for each object cloned, hence the
number is unique for each cloned object.  <ob> defaults to this_object()
if not specified.

Site Stats

Snippets: 1791
Codebases: 571