A_CheckForResurrection

From ZDoom Wiki
Jump to navigation Jump to search

bool A_CheckForResurrection ()

Usage

Checks for a revivable corpse. If the calling actor comes into contact with one, it will enter the Heal state (if one exists) and resurrect the actor in question, provided the actor being revived can actually be resurrected. The outcome of CanResurrect is another determining factor in the success or failure of an actor's resurrection.

Return value

The function returns true if the actor is resurrected successfully, otherwise it returns false.

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