A_DamageChildren

From ZDoom Wiki

Jump to: navigation, search

A_DamageChildren (int amount, [string type])
(development version only)


Damages this actor's children by the specified amount. Negative values heal the children, instead. Remember that the actor to be damaged HAS to be spawned with A_SpawnItemEx with the master/child flag.

  • amount: Amount of damage to inflict. Use a negative value to heal.
  • type: The type of damage to inflict.

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