I use "damage player by X" in several scripts. The damage cause is always "UNKNOWN" of course. SO I wonder if there is a way to set the damage cause?
Example:
damage player by 5
set damage cause to "MyCustomDamageCause"
on damage:
if damage cause is "MyCustomDamageCause" ....
Example:
damage player by 5
set damage cause to "MyCustomDamageCause"
on damage:
if damage cause is "MyCustomDamageCause" ....