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

Documentation Area

Document Path: /doc/living/check_killable


Name: check_killable - check if an enemy is killable by a living

Syntax:
	int check_killable(object target)

Description:
	The check_killable function checks if another living is killable by
	this living. Players that don't have the killable flag set (see
	make_killable) can't be killed by other players.

Return value:
	1, if the target is killable by the living, 0 if not.

Examples:
	this_player()->check_killable(query_attack());

See also:


This page was generated in LPC

Imprint / Impressum