<HEAD> <TITLE> valid_shadow - controls which objects can be shadowed </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> valid_shadow - controls which objects can be shadowed </H1> </center> <p> <b> int valid_shadow( object ob ); </b> <p> When an object attempts to shadow `ob' (with the shadow() efun), valid_shadow in the master object is called. One object parameter is passed, which is the object that previous_object() is attempting to shadow. valid_shadow() should return 0 if the shadow should not be permitted, in which case the shadow() call will return 0 and fail. If valid_shadow() returns 1, the shadow is allowed. <p> See also: <A HREF=../../efuns/calls/shadow.html> shadow </A>, <A HREF=../../efuns/calls/query_shadowing.html> query_shadowing </A> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>