A_ClassBossHealth
Multiplies the health of the calling actor by 5 when playing cooperative and sets the calling actor special1 field to 1, but only if it was equal to 0 beforehand. Otherwise it does nothing.
A_ClassBossHealth
(no parameters)
Examples
This demon can heal itself when heavily wounded, but only once.
Actor ToughDemon : Demon { Health 500 WoundHealth 100 States { Wound: "----" A 5 A_ClassBossHealth goto See } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.