NAME
	save_object - save global variables in current object to a file

SYNOPSIS
	void save_object(string filename)

DESCRIPTION
	Saves all non-static global variables of an object to a given file.
	All variables are saved except those currently of the type object.
	The filename gets a filetype ".o" appended and the format is:

		variable_name	variable_value

		intvar		number
		stringvar	"stringvalue"
		arrayvar	({ variable_values })
		mappingvar	([ index:value ])

BUGS
	Don't start the filename with a '/'. If the string does start with
	a '/', this efun will not save anything, rather, you will get a
	strange looking error.

SEE ALSO
	restore_object

Help topics available:
_destruct _isclone _lock _next_clone _query_action
add_action all_inventory call_other call_out call_out_info
clone_object command creator deep_inventory destruct
disable_commands enable_commands environment exec file_name
find_call_out find_living find_object first_inventory function_exists
inherit inherit_list input_to interactive living
move_object next_inventory present previous_object query_verb
remove_call_out restore_object save_object set_heart_beat set_light
set_living_name shadow tell_object tell_room this_object
this_player transfer

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 122 since February 2020.
This file was last modified: June 2000.