Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Server Veloce

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

Non ancora tradotto

Sintassi

Lua
my_melee:SetDamageSettings(damage_start_time, damage_duration_time)

Parametri

Nome Tipo Predefinito Descrizione
damage_start_time float The initial time to start applying damage
damage_duration_time float The duration time to stop applying damage