PlayerHealth

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns the health (hit points) of the activator.

Usage[edit]

int PlayerHealth(void)

Parameters[edit]

No parameters.

Return value[edit]

the health of the activator

Examples[edit]

No examples given.

Notes[edit]

Despite the name, this function doesn't apply only for players. It will return the health of any thing, including monsters, who activate the script.

This function's identification in zspecial.acs is: ACS internal.

See also[edit]