/doc/lfun/replace_pgm


LFUN

string replace_pgm ()

DESCRIPTION

Try to replace this objects program by the program of a parent.

Result: the file_name() of the parent on success, else 0.

This functions MUST NOT be called for blueprints, from which multiple clones are to be created, inheritance parents, or clones themselves!

Objects with more lfuns than just 'create' won't get their programs replaced.

EXAMPLE

  void create() {
     ...
    replace_pgm();
  }

IMPLEMENTED

/std/base

SEE ALSO

room

| 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