A_KillMaster
From ZDoom Wiki
A_KillMaster (string damagetype)
Called by monsters to kill the monster that spawned this one. Currently the only function that sets the necessary information is A_SpawnItemEx. Optionally, a damagetype parameter can be given. Note that damage inflicted by this codepointer is not affected by damage factors.
Monsters spawned with A_CustomMissile are not affected by this. A_CustomMissile was never designed to spawn monsters.
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. |
| Children/Master/Siblings relationship codepointers | ||
|---|---|---|
| A_DamageChildren | A_DamageMaster | A_DamageSiblings |
| A_KillChildren | A_KillMaster | A_KillSiblings |
| A_RaiseChildren | A_RaiseMaster | A_RaiseSiblings |
| A_RemoveChildren | A_RemoveMaster | A_RemoveSiblings |
| Note: These functions only work with monsters. | ||