S skinwalker Member Dec 21, 2023 #1 Hi, Inside the OnDeath event of an enemy how can I get the attacker's IDamageSource or the whole DamageData?
Hi, Inside the OnDeath event of an enemy how can I get the attacker's IDamageSource or the whole DamageData?
Justin Administrator Staff member Dec 22, 2023 #2 There isn't a way with the OnDeath event. For this you will need to subclass the Health component, override Damage, and send your own event with the details.
There isn't a way with the OnDeath event. For this you will need to subclass the Health component, override Damage, and send your own event with the details.