A_CustomMeleeAttack
From ZDoom Wiki
A_CustomMeleeAttack (int damage[, str meleesound[, str misssound[, str damagetype[, bool bleed]]]])
Causes the actor to execute a melee attack with the specified parameters.
- damage: The amount of damage to perform. This can be an exact value or an expression.
- meleesound: The sound to make when the melee successfully hits.
- misssound: The sound to make when the melee attack misses. If this is not provided, meleesound will always be played.
- damagetype: The type of damage to do.
- bleed: If true, targets will bleed when hit.
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. |

