|
LPC Library Functions: enable_commands |
|
NAMEenable_commands() - allow object to use 'player' commands
SYNOPSISvoid enable_commands( void ); enable_commands() marks this_object() as a living object, and allows it to use commands added with add_action(). When enable_commands() is called, the driver also looks for the local function catch_tell() and, if found, will call it every time a message (via say() for example) is given to the object.
BUGSDo not call this function in any other place than create() or strange things will likely occur. Note that this efun is not available if the driver flag NO_ADD_ACTION is defined. SEE ALSOthis_object(), living(), add_action(), command(), catch_tell(), say(), create() |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|