PlayerArmorPoints

From Zandronum Wiki
Revision as of 00:31, 3 July 2022 by DrinkyBird (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

int PlayerArmorPoints (void)

Usage

Return value

This function will return the amount of armor points the activator of the script has. If the activator is the server it will return zero.

Examples

Script 1 (void)
{
    Print(s: "You have ", d: PlayerArmorPoints(), s: " armor!");
}

See also