EXIT(L) NAME exit - call when a living object leaves a room SYNOPSIS void exit(object ob); LOCATION Only meaningful in room objects. DESCRIPTION This function is called in the old environment every time a living object leaves it. That object is passed to the function as an argument. NOTES *** BE EXTREMELY CAREFUL WITH THIS *** A bug in this object can mean that anyone entering the room is trapped forever (that is, until the next reboot). If the object leaves by move_object() or transfer(), then this_player will be that object. But if it leaves by destruct(), then this_player will not be the destructed object. Thus it is better to use the argument passed to exit rather than this_player(). SEE ALSO init(L)
Help topics available:
dark | exit | living_died | party_follow_verb | query_contents |
You are guest number 78 since May 2020.
This file was last modified: June 2000.