NAME
	move_object - move an object somewhere

SYNOPSIS
	void move_object(object, object dest|string destfilename)

DESCRIPTION
	Moves the object 'obj' to the destination indicated
	by 'dest' or if the argument is a string 'destfilename' then 
	move_object tries to load the corresponding object and move 
	this_object to that destination.

	When an object moves from a destination all the commands it has
	defined in nearby objects using add_action through init, will be
	automatically removed. If this_object is a living object then
	all commands from nearby objects will be removed automatically.

	Upon entering the destination object each living object which becomes
	nearby will be set to this_player respectively and init will be run
	in the entering object. Thus letting it add its commands with 
	add_action to each nearby living object.

	If the entering object is itself living, then this_player will be
	set to the entering object and init will be called in each object
	already in the destination. Init will also be called in the
	destination object which is normally a room.

SEE ALSO
	add_action, enable_commands, disable_commands, this_player

CAVEAT
	As init is called from 'within' the move_object function, care must
	be taken that an infinit loop is not created by moving the wrong
	object within an init routine. If you are doubtful, never move
	an object in init.

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 139 since November 2019.
This file was last modified: June 2000.