LPC Library Functions: disable_commands

NAME

disable_commands() - makes a living object non-living

SYNOPSIS

int disable_commands( void );

DESCRIPTION

Makes a living object non-living; add_action()s have no effects and, if the object is interactive, disallows the user from typing in commands other than for an input_to(). disable_commands() always returns 0.

Note that this efun is not available if the driver flag NO_ADD_ACTION is defined.

SEE ALSO

enable_commands()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS