PlayerArmorPoints: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{ACSFunction|description=Returns activator's armor points. |usage=int PlayerArmorPoints(void) |return=The value of the armor. |notes=This only returns the armor value, not al...") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ACSFunction|description=Returns activator's armor points. | {{ACSFunction|description=Returns activator's armor points. | ||
|usage=int PlayerArmorPoints( | |usage=''int'' PlayerArmorPoints() | ||
|return=The value of the armor. | |return=The value of the armor. | ||
|notes=This only returns the armor value, not also the armor toughness. Only players have armor. | |notes=This only returns the armor value (i.e. what shows up as "percentage" on the status bar in Doom), not also the armor toughness. Only players have armor. | ||
|id=ACS internal}} | |id=ACS internal | ||
|seealso= | |||
*[[EDF_item_effects_and_inventory#armoreffect|EDF armor effects]]}} | |||
Latest revision as of 01:42, 23 April 2026
Description[edit]
This is an ACS built-in function.
Returns activator's armor points.
Usage[edit]
int PlayerArmorPoints()
Parameters[edit]
No parameters.
Return value[edit]
The value of the armor.
Examples[edit]
No examples given.
Notes[edit]
This only returns the armor value (i.e. what shows up as "percentage" on the status bar in Doom), not also the armor toughness. Only players have armor.
This function's identification in zspecial.acs is: ACS internal.