A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/enable_commands


Name: enable_commands - enable player commands to an object

Syntax:
	enable_commands()

Description:
	The enable_commands efun enables the current object to use commands
	normally accessible to players, using the add_action mechanism. This
	also marks the current object as living.

	This function must be called if the object is supposed to interact
	with other players.

	Avoid to call this function from other places then reset(), because
	the command_giver will be set to the this object.

	All monsters have called enable_commands per default.

Return value: none

Examples:
	enable_commands();

See also:


This page was generated in LPC

Imprint / Impressum