/doc/lfun/init


LFUN

void init ()

DESCRIPTION

Perform the actions needed if the object gets into the vicinity of a living, like adding actions.

This function is called if a living this_player() enters the vicinity of this object, or this object moves into the vicinity of a living. Canonical action is to add commands when necessary.

EXAMPLE

  void init () {
    ::init();
    add_action("ffoo", "foo");
  }

IMPLEMENTED

/std/thing, and all objects needing it.


| Home | Applied | Concepts | Efuns | Help | Intro | Lfuns | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Mon, Jul 22, 1996