A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/move_object
Efun: move_object - moves items/objects
Synopsis:
void move_object(item, destination)
Description:
Move the object "item" to the object "destination". Currently,
both arguments can be strings.
'transfer()' can be used instead of 'move_object()'.
The "destination" parameter is optional, this_object() is default.
Return value:
none
Examples:
move_object(torch, "room/shop");
move_object(clone_object("obj/torch"));
Note:
Players/wizards and monsters should be moved using move_player!
Then monsters "arrive" in a room when they are created (or moved
to another room). And for players and wizards (interactives) it
is important to use move_player as move_player does much more like
messaging to other players in the current room and the new room,
checking the weather in the new one, saving the new location, and
finally showing the long (or short) description of the new room
including the inventory of it, etc.
See also:
This page was generated in LPC
Imprint / Impressum