ScriptEvent:meleeAttack
From Mod Wiki
Parameters
float damageScale -- Damage scale factor.
Result
Supported By
idWeapon
Comments
- This will always return false on network clients.
- If the damage scale is negative, special damage will be used instead of the regular damage.
Functionality
Applies damage to the entity hit in the last call to melee, if any, and returns whether it attempted to apply damage.