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

Documentation Area

Document Path: /doc/living/query_hp


Name: query_hp - return the amount of hit points of a living

Syntax:
	int query_hp()

Description:
	The query_hp call returns the amount of hit points of a living.

Return value:
	A positive integer indicating the hit points. If the hit points are
	0, the living is dead. The value is always lower or equal to the max_hp.

Examples:
	int hp;
	hp=this_player()->query_hp();

See also:


This page was generated in LPC

Imprint / Impressum