From ZDoom Wiki
Jump to navigation Jump to search

A_ResetHealth [(int pointer)]


Sets the pointed to actor's health to the value it spawned in the game with. This function only has an effect on actors with health value greater than 0.


  • pointer: the actor to reset its health. This is an actor pointer. Default is AAPTR_DEFAULT, which corresponds to the calling actor.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.