enable_commands(3)    LPC 系统函数    enable_commands(3)

名称
     enable_commands() - 允许生物使用玩家的命令

语法
     void enable_commands( void );

DESRIPTION
     enable_commands() marks this_object() as  a  living  object,
     and  allows  it  to use commands added with add_action() (by
     using command()).  When  enable_commands()  is  called,  the
     driver  also  looks for the local function catch_tell(), and
     if found, it will call it every time a  message  (via  say()
     for example) is given to the object.
     本函数让 this_object() 就像生物一样, 允许

注意
     不要在 create() 之外呼叫此函数, 否则会发生意想不到的错误.

请参考
     this_object(3),   living(3),   add_action(3),    command(3),
     catch_tell(4), say(3), create(4)

MudOS                Last change: 5 Sep 1994                    1

