A_ResetHealth

From ZDoom Wiki
Jump to: navigation, search

A_ResetHealth [(int pointer)]

Usage

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.

Parameters

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

Examples

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 contibutions are greatly appreciated.