PlayerArmorPoints: Difference between revisions
DrinkyBird (talk | contribs) No edit summary |
DrinkyBird (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:ACSWarning}} | {{Template:ACSWarning}} | ||
int ''' | int '''PlayerArmorPoints''' (void) | ||
==Usage== | ==Usage== |
Revision as of 16:25, 21 August 2016
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 the server it will return zero.
Examples
Script 1 (void)
{
Print(s: "You have ", d: PlayerArmorpoints(), s: " armor!");
}