Function
Fast
Melee:SetDamageSettings
Sets the times when to start applying damage and when to end. During this time the collision of the melee will be enabled and the damage will be applied if it hits something
Syntax
my_melee:SetDamageSettings(damage_start_time, damage_duration_time)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
damage_start_time
|
float | — | The initial time to start applying damage |
damage_duration_time
|
float | — | The duration time to stop applying damage |