PlayerArmorPoints

Revision as of 16:24, 21 August 2016 by DrinkyBird (talk | contribs) (Created page with "{{Template:ACSWarning}} int '''PlayerArmorpoints''' (void) ==Usage== This function will return the amount of armor points the activator of the script has. If the activator i...")
(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

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

Examples

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