A_Die

From ZDoom Wiki

Jump to: navigation, search

A_Die [(str DamageType)]


Kills the calling actor if it is not already dead. This has only an effect if the actor has the SHOOTABLE flag set.

If DamageType is provided, it determines what type of damage is inflicted upon the actor to kill it. This could be used to determine which Death state the monster uses as it dies. (development version only)

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.
Retrieved from "http://zdoom.org/wiki/A_Die"
Personal tools