EntHitDamage
Hit Damage
Does damage on collision
ID: EntHitDamage
Required By: Hit Damage Can Damage Entity, Hit Damage Effect On Hit, Hit Damage Part, Hit Damage Scale Damage With Speed, Hit Damage Set Hit Force
Base Type: Entity Component
Values
Name | Type | Description |
---|---|---|
Hit Damage Enabled | Bool Variable | Defaults to True |
Damage Amount | Number Variable | hp |
Damage Min Relative Speed | Number Variable | Minimum relative speed of collision needed to do damage - m/s |
Damage Min Own Speed | Number Variable | Minimum speed this entity needs to be going to do damage - m/s |
Events
Name | Description |
---|---|
On Hit(Entity hitEntity, Number damage, Collision Info collisionInfo) |
Updated almost 2 years ago