restore_object
skylib_fluffos_v3/mudlib/doc/driver/efuns/objects/restore_object · 667 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
.\"restore values of variables from a file into an object .DT restore_object $MUDNAME$ driver help restore_object .SH Name .SI 5 restore_object() - restore values of variables from a file into an object .EI .SH Synopsis .SI 5 int restore_object( string name, int flag ); .EI .SH Description .SP 5 5 Restore values of variables for current object from file `name'. If the optional argument `flag' is 1, then all of the non-static variables are not zeroed out prior to restore (normally, they are). In the case of an error, the affected variable will be left untouched and an error given. .EP .SH See also .SI 5 save_object(), save_variable, restore_variable .EI