Identifying Crit damage or damage done with damage multipler.

Somosky

Member
I currently am instantiating some pop up dame numbers when damage is done to a AI using the health component. The text is red and displays the damage. I'm trying to figure out how I would be able to distinguish if the damage that was done hit the damage modifier so I can make the text yellow to indicate it was a critical hit.

Thanks
 
Within the OnObjectImpact callback it'll specify which object was hit. You can use this to identify a critical hit.
 
Top