event_exit |
Discworld events help |
event_exit |
Name
event_exit - Called when objects exit.
Syntax
void event_exit(object ob, string message, object to);
Description
This function is called on things when something leaves their inventory or leaves their environment. The to argument is where the object is leaving to. The message argument is the message printed to the player when this move occurs. This message is processed using add_message, so the basic output is not very readable.
See also
event_enter, move, event_move_object, event_destruct