A
          / \      _                                               Nemesis on 
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/restore_object


int restore_object(name)
string name;

Restore values of variables for current object from file "name".
It is illegal to have '.' or spaces in the name.
Return true if success.

Variables that has the type modifer 'static' will not be saved.
Example: 'static int xxx;'.

NOTE:
	restore_object of players' and wizards' .o-file is prohibited due to
	data privacy since May 29 2015. Game related parts of /usr/<name>.o
	could be obtained via the simulated efun query_user_data(<name>).

See also:


This page was generated in LPC

Imprint / Impressum