A_Respawn

From ZDoom Wiki

Jump to: navigation, search

A_Respawn [(bool fog)]

Respawns the calling actor at their initial starting point, and resets its stats in the process. This behaves exactly as if the actor was respawned on the Nightmare skill. If there is a solid object at the spawn point, the respawn will fail.

The optional fog parameter controls whether respawn fog is shown when the actor reappears. If it is omitted, it defaults to true.

Examples

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.
Personal tools